-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There is a layering violation where the top of the write path passes down a write_ops function to write out a bucket upon query-based reopening. This rewrite only applies to uncompressed buckets found via query-based reopening.
This opaque function is passed down through prepareInsertsToBuckets, stageInsertBatch, getEligibleBucket, potentiallyReopenBucket, getReopenedBucket, and bucket_catalog::internal::compressAndWriteBucket.
The function is declared in the 3 functions: stage[Un]OrderedWritesToBucketCatalog[Unoptimized].