I'm curious why the flush call in IW getReader isn't synced? The main work of flush is synced, ie, the doFlush method. Then we're syncing yet again to call applyDeletes, redundantly because deletes were previously flushed in the flush call. I'm guessing we're trying to gain some concurrency however given doFlush is synced, there probably isn't much? Maybe we should simply flush inside the sync this block in getReader?
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
