proposal
proposal copied to clipboard
M3DB Index Out Of Order Writes support
Implementation pending, algorithm:
- During cold flush, for any series added to the volume, add to an index segment the series (load existing "cold writes index segment" from disk into a new builder to update it if already present)
- Send the cold index block the new updated segment, along with a number of series that were just inserted
- For loop over all existing in memory cold block documents, checking if it is in the cold writes segment just persisted to disk, if so then write a new version of the in memory cold block segment without the ones that also exist in the cold writes segment from disk