Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reading of props with different block sizes
Currently we have two dynamic stores for long property values - DynamicStringStore and DynamicArrayStore. They can have their block sizes configured separately via string_block_size and array_block_size internal properties. StorePropertyCursor and StorePropertyPayloadCursor are used to read actual property values. Payload cursor wraps a dynamic record cursor tries to reuse most of it's internal state. Issue occurred because StorePropertyPayloadCursor tried to use same dynamic record cursor for reading from both dynamic string and array store, which can have different block size. This commit makes property payload cursor use different cursors for dynamic string store and dynamic array store. It also restructures StorePropertyPayloadCursorTest because previously some basic tests were not executed as they were not inside an inner class. Fixes #6133
- Loading branch information
Showing
3 changed files
with
175 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters