Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.1.0
-
None
-
Untriaged
-
Unknown
Description
the docBufPool in forestdb_iterator needs to be in sync with
maxIndexEntrySize in index_entry.go. After the last encoding scheme change,
this seems to have gone out of sync.
index_entry.go, key buf size is
maxIndexEntrySize = MAX_SEC_KEY_BUFFER_LEN + MAX_DOCID_LEN + 2
in forestdb_iterator, it is
docBufPool = common.NewByteBufferPool(MAX_SEC_KEY_BUFFER_LEN)
docBufPool can be updated to same value as maxIndexEntrySize
Attachments
Issue Links
- blocks
-
MB-19612 4.5.1 Minor Release
- Closed
For Gerrit Dashboard: MB-19810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
64681,4 | MB-19810 Fix doc buffer pool length in forestdb_iterator | unstable | indexing | Status: MERGED | +2 | +1 |