Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Secondary indexes flush when the parent does. This has an unfortunate side effect: a single CF flushing with a single secondary index fills the flush queue and blocks further writes until the first one completes. A simple but naive optimization here would be to queue the indexes before the parent since they are generally going to be smaller, and thus flush faster, reducing the amount of time writes are blocked.