Introduces a checkShardVersionOKOrThrow_DEPRECATED variant so that we can incrementally fix the places, which are not prepared to catch StaleConfig exceptions.
It uses a memory pool in the execution context to be able to share a
larger memory buffer for multiple KeyStrings.
Added SharedBufferFragment and SharedBufferFragmentBuilder to achieve this.
This redesigns user index build abort to have the following behavior:
- Take a collection X lock to stop the index build from making progress
- If we are no longer primary, return an error
- Check whether we can abort the index build (i.e. it is not already committing
or aborting)
- Delete the index catalog entry and write the abortIndexBuild oplog entry in a WUOW
- Interrupt the index builder thread
- Wait for the thread to exit
- Release locks
- setFilteringMetadata
- getCurrentMetadataIfKnown
- getShardVersionIfKnown
Have been moved from CSS to CSR to ensure no external usages.
Moreover the getShardVersion command is now foribidden on unsharded
mongod. It will return ErrorCodes.NoShardingEnabled in such a
case.
It is meant to be a container for reusing temporary objects within an operation instead of creating and destroying new instances.
At the moment, used for index building where it keeps data structures for KeyStringSet and MultikeyPaths.
ref: 5b5d798856..da6c25fee0
for: 4.5.1
WT-5527 Free the onpage updates when restoring update chains
WT-5675 Prepare support with durable history: workgen changes
WT-5778 Simplify __rec_append_orig_value
WT-5796 Speed up verification of file's associated history store information
WT-5811 Mark ASAN tests as running on a slow machine
WT-5909 Coverity unused value issue
WT-5930 (4.4-only) Journaled data from 4.2 binaries not recovered at startup
WT-5932 Rollback to stable aborting on-disk updates for in-memory database
WT-5938 Fix a memory corruption in rollback to stable
WT-5941 Document how eviction works in durable history
WT-5943 Consider WT_TS_NONE timestamped update also a valid update for rollback to stable
WT-5944 Relax test_wt2853_perf performance parameters temporarily
WT-5948 Search shouldn't ignore globally visible tombstone of history store
WT-5952 Fix freeing updates racing with application threads
WT-5953 Fix format CONFIG file "mmap_all" syntax incompatibility
WT-5961 Respect write generations when constructing the root addr
WT-5965 Ignore leading whitespace in format CONFIG files
WT-5967 Remove named snapshot support
WT-5978 Unstable prepared updates causing the update chain to be unnecessarily restored
WT-5979 Add Evergreen release compatibility test for forward compatibility
WT-5983 Remove diagnostic tests left over from WT-5043WT-5985 Turn off format testing for relaxed isolation levels
WT-5987 Turn off history store verification in the WT_SESSION.verify method
WT-5988 Do not write log records as part recovery rollback to stable operation
WT-5993 Restore disk page header version
WT-5994 Turn off format testing for relaxed isolation levels (part 2)