-
Notifications
You must be signed in to change notification settings - Fork 180
Attempt to reduce memory footprint of compaction #627
Commits on Jun 11, 2019
-
Returning series ref in ChunkSeriesSet.At()
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 9811a14 - Browse repository at this point
Copy the full SHA 9811a14View commit details -
newCompactionMerger takes []ChunkSeriesSet. Calculating (old series i…
…d -> new series id) map. Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 12a10a0 - Browse repository at this point
Copy the full SHA 12a10a0View commit details -
User (old series id -> new series id) map to write new postings
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for b7839c4 - Browse repository at this point
Copy the full SHA b7839c4View commit details
Commits on Jun 12, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 5d3bf62 - Browse repository at this point
Copy the full SHA 5d3bf62View commit details -
NumSeries() for BlockReader. Pre-allocate memory for seriesMap maps.
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 76b67fd - Browse repository at this point
Copy the full SHA 76b67fdView commit details
Commits on Jun 14, 2019
-
Set a higher initial value for postingBuf
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 64e4487 - Browse repository at this point
Copy the full SHA 64e4487View commit details -
Efficiently iterate over all sorted label-values
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 3a4a6e6 - Browse repository at this point
Copy the full SHA 3a4a6e6View commit details -
Hint number of postings writes to the index Writer to pre-allocate me…
…mory. Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 0a0dbfe - Browse repository at this point
Copy the full SHA 0a0dbfeView commit details -
Pre-allocate slice for label values in populateBlock
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for c1c39ed - Browse repository at this point
Copy the full SHA c1c39edView commit details
Commits on Jun 18, 2019
-
Re-use bigEndianPostings in populateBlock
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 3593059 - Browse repository at this point
Copy the full SHA 3593059View commit details -
Reuse string buffer when swapping stringTuples
This reduces the allocs of WriteLabelIndex significantly. Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for e78ec69 - Browse repository at this point
Copy the full SHA e78ec69View commit details -
Reuse byte slice for writing chunk meta hash
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for f344fa2 - Browse repository at this point
Copy the full SHA f344fa2View commit details -
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 9fab207 - Browse repository at this point
Copy the full SHA 9fab207View commit details -
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 0ff98c0 - Browse repository at this point
Copy the full SHA 0ff98c0View commit details -
Reuse slice in ReadOffsetTable. Reduces allocs for OpenBlock.
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 407fe55 - Browse repository at this point
Copy the full SHA 407fe55View commit details -
Reuse ListPostings in populateBlock.
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 39b97e5 - Browse repository at this point
Copy the full SHA 39b97e5View commit details -
Check for error before wrapping in blockIndexReader.Series
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 4ff0ed8 - Browse repository at this point
Copy the full SHA 4ff0ed8View commit details -
Check for error before wrapping in blockIndexReader.Postings
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 387705d - Browse repository at this point
Copy the full SHA 387705dView commit details -
Use already allocated byte buffer in writeHash
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for cff36d4 - Browse repository at this point
Copy the full SHA cff36d4View commit details -
WriteChunks takes a byte buffer to reuse
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for f9dfe07 - Browse repository at this point
Copy the full SHA f9dfe07View commit details
Commits on Jun 19, 2019
-
Breakdown generic writeOffsetTable into writeLabelIndexesOffsetTable …
…and writePostingsOffsetTable Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for e812fba - Browse repository at this point
Copy the full SHA e812fbaView commit details
Commits on Jun 20, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for b421a4b - Browse repository at this point
Copy the full SHA b421a4bView commit details -
Reset() for Postings interface
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 53ccf99 - Browse repository at this point
Copy the full SHA 53ccf99View commit details -
Merge remote-tracking branch 'upstream/master' into compact-opt
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for eb79899 - Browse repository at this point
Copy the full SHA eb79899View commit details
Commits on Jun 22, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for c7af8aa - Browse repository at this point
Copy the full SHA c7af8aaView commit details
Commits on Jun 28, 2019
-
Remove Reset(...) from Postings interface
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for b2b2647 - Browse repository at this point
Copy the full SHA b2b2647View commit details -
More code comments and fix review comments
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for b007998 - Browse repository at this point
Copy the full SHA b007998View commit details
Commits on Jul 2, 2019
-
Revert changes to writeOffsetTable
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 0068b3c - Browse repository at this point
Copy the full SHA 0068b3cView commit details -
Revert checking error before wrapping
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 606fcf1 - Browse repository at this point
Copy the full SHA 606fcf1View commit details -
Revert re-use of 'keys' in ReadOffsetTable
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 0898907 - Browse repository at this point
Copy the full SHA 0898907View commit details
Commits on Jul 3, 2019
-
Revert changes made to stringTuples
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for caa715e - Browse repository at this point
Copy the full SHA caa715eView commit details -
Revert passing byte buffer to WriteChunks and writeHash
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 1d54273 - Browse repository at this point
Copy the full SHA 1d54273View commit details
Commits on Jul 5, 2019
-
Merge remote-tracking branch 'upstream/master' into compact-opt
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for dbec7eb - Browse repository at this point
Copy the full SHA dbec7ebView commit details
Commits on Jul 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 85bdf35 - Browse repository at this point
Copy the full SHA 85bdf35View commit details -
hashEntry -> postingsHashEntry after merging upstream
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 89d459e - Browse repository at this point
Copy the full SHA 89d459eView commit details -
writePostings perf improvements
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for f8ddc03 - Browse repository at this point
Copy the full SHA f8ddc03View commit details
Commits on Jul 12, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 1582ebc - Browse repository at this point
Copy the full SHA 1582ebcView commit details -
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 5993889 - Browse repository at this point
Copy the full SHA 5993889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4293e37 - Browse repository at this point
Copy the full SHA 4293e37View commit details
Commits on Jul 15, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for e0693dc - Browse repository at this point
Copy the full SHA e0693dcView commit details
Commits on Jul 16, 2019
-
Reset ref in compactionMerger when there are 0 chunks
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 048790b - Browse repository at this point
Copy the full SHA 048790bView commit details
Commits on Jul 23, 2019
-
compactionMerger doesn't return series with 0 chunks
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 605f5b7 - Browse repository at this point
Copy the full SHA 605f5b7View commit details -
Merge remote-tracking branch 'upstream/master' into compact-opt
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 40ad33c - Browse repository at this point
Copy the full SHA 40ad33cView commit details
Commits on Jul 24, 2019
-
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for b72273f - Browse repository at this point
Copy the full SHA b72273fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe544e - Browse repository at this point
Copy the full SHA ffe544eView commit details -
Bug fix in compactionMerger.Next()
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 570d5e1 - Browse repository at this point
Copy the full SHA 570d5e1View commit details
Commits on Jul 25, 2019
-
Don't put deleted series in seriesMap
This fixes series out-of-order bug when compacting from on-disk block, because postings used to contain invalid series references as even the deleted series were present in seriesMap with bogus series references. Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 4ed0cac - Browse repository at this point
Copy the full SHA 4ed0cacView commit details
Commits on Jul 28, 2019
-
Better allocation strategy for remapped postings
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for c252f96 - Browse repository at this point
Copy the full SHA c252f96View commit details
Commits on Aug 2, 2019
-
Faster way to merge remapped postings
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Configuration menu - View commit details
-
Copy full SHA for a75fa32 - Browse repository at this point
Copy the full SHA a75fa32View commit details