Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 20, 2025

This PR contains the following updates:

Package Change Age Confidence
org.rocksdb:rocksdbjni (source) 10.2.1 -> 10.4.2 age confidence

Release Notes

facebook/rocksdb (org.rocksdb:rocksdbjni)

v10.4.2

10.4.2 (07/09/2025)

Bug Fixes
  • Fix a race condition between concurrent DB::Open sharing the same SstFileManager instance.

10.4.1 (07/01/2025)

Behavior Changes
  • RocksDB now triggers eligible compactions every 12 hours when periodic compaction is configured. This solves a limitation of the compaction trigger mechanism, which would only trigger compaction after specific events like flush, compaction, or SetOptions.
Bug Fixes
  • Fix a bug in BackupEngine that can crash backup due to a null FSWritableFile passed to WritableFileWriter.

10.4.0 (06/20/2025)

New Features
  • Add a new CF option memtable_avg_op_scan_flush_trigger that supports triggering memtable flush when an iterator scans through an expensive range of keys, with the average number of skipped keys from the active memtable exceeding the threshold.
  • Vector based memtable now supports concurrent writers (DBOptions::allow_concurrent_memtable_write) #​13675.
  • Add new experimental TransactionOptions::large_txn_commit_optimize_byte_threshold to enable optimizations for large transaction commit by transaction batch data size.
  • Add a new option CompactionOptionsUniversal::reduce_file_locking and if it's true, auto universal compaction picking will adjust to minimize locking of input files when bottom priority compactions are waiting to run. This can increase the likelihood of existing L0s being selected for compaction, thereby improving write stall and reducing read regression.
  • Add new format_version=7 to aid experimental support of custom compression algorithms with CompressionManager and block-based table. This format version includes changing the format of TableProperties::compression_name.
Public API Changes
  • Change NewExternalTableFactory to return a unique_ptr instead of shared_ptr.
  • Add an optional min file size requirement for deletion triggered compaction. It can be specified when creating CompactOnDeletionCollectorFactory.
Behavior Changes
  • TransactionOptions::large_txn_commit_optimize_threshold now has default value 0 for disabled. TransactionDBOptions::txn_commit_bypass_memtable_threshold now has no effect on transactions.
Bug Fixes
  • Fix a bug where CreateColumnFamilyWithImport() could miss the SST file for the memtable flush it triggered. The exported CF then may not contain the updates in the memtable when CreateColumnFamilyWithImport() is called.
  • Fix iterator operations returning NotImplemented status if disallow_memtable_writes and paranoid_memory_checks CF options are both set.
  • Fixed handling of file checksums in IngestExternalFile() to allow providing checksums using recognized but not necessarily the DB's preferred checksum function, to ease migration between checksum functions.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the pr-docker Smoke test Docker images label Aug 20, 2025
@renovate renovate bot enabled auto-merge (squash) August 20, 2025 06:43
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 20, 2025
@renovate renovate bot force-pushed the renovate/org.rocksdb-rocksdbjni-10.x branch 3 times, most recently from 1605e87 to c57b2c5 Compare August 21, 2025 11:28
@snazy
Copy link
Member

snazy commented Aug 21, 2025

Follow-up #11197

@snazy snazy requested a review from dimas-b August 21, 2025 12:38
Copy link
Contributor Author

renovate bot commented Aug 21, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@snazy
Copy link
Member

snazy commented Aug 21, 2025

Also: the native libraries are no longer in the "main" rocksdb-jni.jar file, but have to be pulled in explicitly.

@snazy snazy marked this pull request as draft August 21, 2025 12:53
auto-merge was automatically disabled August 21, 2025 12:53

Pull request was converted to draft

@snazy
Copy link
Member

snazy commented Aug 21, 2025

Actually, this requires #11197. Too many tests are affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-docker Smoke test Docker images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant