Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3, 6.0
-
None
-
New, Patch Available
Description
We currently consult the indexwriter -> merge policy to decide if we need to write CFS or not which is bad in many ways.
- we should call mergepolicy only during merges
- we should never sync on IW during DWPT flush
- we should be able to make the decision if we need to write CFS or not before flush, ie. we could write parts of the flush directly to CFS or even start writing stored fields directly.
- in the NRT case it might make sense to write all flushes to CFS to minimize filedescriptors independent of the index size.
I wonder if we can use a simple boolean for this in the IWC and get away with not consulting merge policy. This would simplify concurrency a lot here already.
Attachments
Attachments
Issue Links
- is related to
-
SOLR-4934 Prevent runtime failure if users use initargs "useCompoundFile" setting on LogMergePolicy or TieredMergePolicy
- Closed
-
SOLR-4941 useCompoundFile default has changed, simple config option no longer seems to work
- Closed
- relates to
-
SOLR-4926 I am seeing RecoveryZkTest and ChaosMonkeySafeLeaderTest fail often on trunk.
- Closed