Bump org.rocksdb:rocksdbjni from 9.3.1 to 9.4.0 in /pgp-keys-map-test1 by dependabot[bot] · Pull Request #2382 · s4u/pgp-keys-map (original) (raw)
Bumps org.rocksdb:rocksdbjni from 9.3.1 to 9.4.0.
Release notes
Sourced from org.rocksdb:rocksdbjni's releases.
RocksDB 9.4.0
9.4.0 (2024-06-23)
New Features
- Added a
CompactForTieringCollectorFactoryto auto trigger compaction for tiering use case.- Optimistic transactions and pessimistic transactions with the WriteCommitted policy now support the
GetEntityForUpdateAPI.- Added a new "count" command to the ldb repl shell. By default, it prints a count of keys in the database from start to end. The options --from= and/or --to= can be specified to limit the range.
- Add
rocksdb_writebatch_update_timestamps,rocksdb_writebatch_wi_update_timestampsin C API.- Add
rocksdb_iter_refreshin C API.- Add
rocksdb_writebatch_create_with_params,rocksdb_writebatch_wi_create_with_paramsto create WB and WBWI with all options in C APIPublic API Changes
- Deprecated names
LogFileandVectorLogPtrin favor of new namesWalFileandVectorWalPtr.- Introduce a new universal compaction option CompactionOptionsUniversal::max_read_amp which allows user to define the limit on the number of sorted runs separately from the trigger for compaction (
level0_file_num_compaction_trigger) #12477.Behavior Changes
- Inactive WALs are immediately closed upon being fully sync-ed rather than in a background thread. This is to ensure LinkFile() is not called on files still open for write, which might not be supported by some FileSystem implementations. This should not be a performance issue, but an opt-out is available with with new DB option
background_close_inactive_wals.Bug Fixes
- Fix a rare case in which a hard-linked WAL in a Checkpoint is not fully synced (so might lose data on power loss).
- Fixed the output of the
ldb dump_walcommand forPutEntityrecords so it prints the key and correctly resets the hexadecimal formatting flag after printing the wide-column entity.- Fixed an issue where
PutEntityrecords were handled incorrectly while rebuilding transactions during recovery.- Various read operations could ignore various ReadOptions that might be relevant. Fixed many such cases, which can result in behavior change but a better reflection of specified options.
Performance Improvements
- Improved write throughput to memtable when there's a large number of concurrent writers and allow_concurrent_memtable_write=true(#12545)
Changelog
Sourced from org.rocksdb:rocksdbjni's changelog.
9.4.0 (06/23/2024)
New Features
- Added a
CompactForTieringCollectorFactoryto auto trigger compaction for tiering use case.- Optimistic transactions and pessimistic transactions with the WriteCommitted policy now support the
GetEntityForUpdateAPI.- Added a new "count" command to the ldb repl shell. By default, it prints a count of keys in the database from start to end. The options --from= and/or --to= can be specified to limit the range.
- Add
rocksdb_writebatch_update_timestamps,rocksdb_writebatch_wi_update_timestampsin C API.- Add
rocksdb_iter_refreshin C API.- Add
rocksdb_writebatch_create_with_params,rocksdb_writebatch_wi_create_with_paramsto create WB and WBWI with all options in C APIPublic API Changes
- Deprecated names
LogFileandVectorLogPtrin favor of new namesWalFileandVectorWalPtr.- Introduce a new universal compaction option CompactionOptionsUniversal::max_read_amp which allows user to define the limit on the number of sorted runs separately from the trigger for compaction (
level0_file_num_compaction_trigger) #12477.Behavior Changes
- Inactive WALs are immediately closed upon being fully sync-ed rather than in a background thread. This is to ensure LinkFile() is not called on files still open for write, which might not be supported by some FileSystem implementations. This should not be a performance issue, but an opt-out is available with with new DB option
background_close_inactive_wals.Bug Fixes
- Fix a rare case in which a hard-linked WAL in a Checkpoint is not fully synced (so might lose data on power loss).
- Fixed the output of the
ldb dump_walcommand forPutEntityrecords so it prints the key and correctly resets the hexadecimal formatting flag after printing the wide-column entity.- Fixed an issue where
PutEntityrecords were handled incorrectly while rebuilding transactions during recovery.- Various read operations could ignore various ReadOptions that might be relevant. Fixed many such cases, which can result in behavior change but a better reflection of specified options.
Performance Improvements
- Improved write throughput to memtable when there's a large number of concurrent writers and allow_concurrent_memtable_write=true(#12545)
9.3.0 (05/17/2024)
New Features
- Optimistic transactions and pessimistic transactions with the WriteCommitted policy now support the
GetEntityAPI.- Added new
Iteratorproperty, "rocksdb.iterator.is-value-pinned", for checking whether theSlicereturned byIterator::value()can be used until theIteratoris destroyed.- Optimistic transactions and WriteCommitted pessimistic transactions now support the
MultiGetEntityAPI.- Optimistic transactions and pessimistic transactions with the WriteCommitted policy now support the
PutEntityAPI. Support for read APIs and other write policies (WritePrepared, WriteUnprepared) will be added later.Public API Changes
- Exposed block based metadata cache options via C API
- Exposed compaction pri via c api.
- Add a kAdmPolicyAllowAll option to TieredAdmissionPolicy that admits all blocks evicted from the primary block cache into the compressed secondary cache.
Behavior Changes
- CompactRange() with change_level=true on a CF with FIFO compaction will return Status::NotSupported().
- External file ingestion with FIFO compaction will always ingest to L0.
Bug Fixes
- Fixed a bug for databases using
DBOptions::allow_2pc == true(allTransactionDBs exceptOptimisticTransactionDB) that have exactly one column family. Due to a missing WAL sync, attempting to open the DB could have returned aStatus::Corruptionwith a message like "SST file is ahead of WALs".- Fix a bug in CreateColumnFamilyWithImport() where if multiple CFs are imported, we were not resetting files' epoch number and L0 files can have overlapping key range but the same epoch number.
- Fixed race conditions when
ColumnFamilyOptions::inplace_update_support == truebetween user overwrites and reads on the same key.- Fix a bug where
CompactFiles()can compact files of range conflict with other ongoing compactions' whenpreclude_last_level_data_seconds > 0is used- Fixed a false positive
Status::Corruptionreported when reopening a DB that usedDBOptions::recycle_log_file_num > 0andDBOptions::wal_compression != kNoCompression.- While WAL is locked with LockWAL(), some operations like Flush() and IngestExternalFile() are now blocked as they should have been.
- Fixed a bug causing stale memory access when using the TieredSecondaryCache with an NVM secondary cache, and a file system that supports return an FS allocated buffer for MultiRead (FSSupportedOps::kFSBuffer is set).
... (truncated)
Commits
- 5f003e4 Fix "no new line at end of file" (#12806)
- 08d85c6 update HISTORY.md for 9.4.fb
- e90e915 Calculate
injected_error_counteven whenSharedState::ignore_read_error(... - 9d64ca5 Proceed for new memtable on okay status (#12798)
- 40944cb Fix folly build (#12795)
- b4a84ef Fix assertion failure in ConstructFragmentedRangeTombstones() (#12796)
- 981fd43 Fix not getting expected injected read error (#12793)
- d6cf9de Disable fault injection with BatchedOpsStressTest and MultiOpsTxnsStressTest ...
- 3ee4d5a Fix possible crash in failure to sync some WALs (#12789)
- cce51f0 Fix heap-use-after-free in MultiCfIteratorImpl (#12784)
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)