Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest: Call maybeScheduleFlush immediately in ingestApply
Previously we would delay the call to maybeScheduleFlush in ingestApply mostly out of readability. However it's safe to call it directly as the flush will wait for the manifest lock (which we are holding in that method) before it applies anyway. Furthermore, calling it directly avoids a bug where error cases in ingestApply could lead to us not scheduling a flush for a flushable memtable.
- Loading branch information