Commit Graph
136 Commits
Author SHA1 Message Date
bhartnett 2968a6fb7c Merge branch 'master' into try-using-liburing 2026-08-26 17:32:38 +02:00
bhartnett 33aa4ff1f0 Cleanup. 2026-08-26 17:31:01 +02:00
bhartnett 2b3c2d1da3 Add global config to enable uring. 2026-08-26 16:59:24 +02:00
bhartnett 73934cf210 Multiget benchmark 2026-08-26 16:02:39 +02:00
Ben Hartnett e529127f4f Support more configuration options (#111) 2026-08-26 21:38:23 +08:00
bhartnett 9cbe8b7702 Add benchmark 2026-08-26 15:32:33 +02:00
bhartnett 3fda46f2be Support building with liburing 2026-08-26 15:32:23 +02:00
bhartnett 793f80600c Run nph. 2026-08-26 20:57:31 +08:00
bhartnett 663a07e013 Enable memtableBatchLookupOptimization by default. 2026-08-26 14:53:25 +02:00
bhartnett 7dbc578cb9 Remove outdated examples. 2026-08-26 14:38:29 +02:00
bhartnett a3944d02e1 Support more options. 2026-08-26 14:35:50 +02:00
Ben Hartnett 7f380aa747 Update RocksDB to v11.1.2 (#110) 2026-08-26 20:08:32 +08:00
Ben Hartnett bfbf82fc72 Add wrapper for the hyper clock cache (#108) v10.10.1.0 2026-04-22 22:16:59 +08:00
Ben Hartnett a903615ca6 Enable asyncio by default in read options (#107) 2026-04-16 00:53:51 +08:00
Ben Hartnett 8a73d4a1d4 Use new RocksDB high-performance get functions (#106) 2026-04-15 22:12:54 +08:00
Ben Hartnett 7459ab54f3 Update RocksDB to v10.10.1 (#105) 2026-04-14 23:48:07 +08:00
Ben Hartnett 83688cf203 Use nph v0.7.0 (#104) v10.7.5.0 2026-03-05 14:26:41 +08:00
Ben Hartnett 369d2a3f1f Update RocksDB to v10.7.5 (#102)
* Bump deps.

* Update wrapper and bump version.
2026-02-10 13:06:38 +01:00
Ben Hartnett 8eeb9d8b85 Add multiGetIter function returning iterator handle and iterators which yield slices (#101) v10.4.2.1 2025-12-12 17:35:04 +01:00
Ben Hartnett 8044d967a4 Test both refc and orc in tests (#99) 2025-11-19 23:39:20 +08:00
Ben Hartnett 6a9e8006ae Update CI (#97) 2025-11-19 21:23:20 +08:00
Ben Hartnett 3c0434b834 Use Opt in multiGet to indicate when values don't exist (#95) 2025-11-14 19:23:02 +08:00
Ben Hartnett 2f3132f5aa Add option to return err when values don't exist in multiGet (#94) 2025-11-13 13:15:41 +08:00
Ben Hartnett 736990c12b Support deleteRange, compactRange and multiGet on column families (#93) 2025-11-10 13:54:18 +08:00
bhartnett 1e724b9c1b Update RocksDB to v10.4.2 (#91)
* Update vendor deps.

* Update header and nim wrapper.
v10.4.2.0
2025-08-27 15:43:17 +08:00
andri lim a95240da0f Don't rebuild librocksdb.dll if exists (#90) v10.2.1.0 2025-08-02 21:48:33 +07:00
Jacek Sieka f420a09cac don't set maxBackgroundJobs redundantly (#88)
The recommendations (clearly) assume `increaseParallelism` hasn't been
called
2025-06-15 17:52:03 +02:00
bhartnett c8cc5506c8 Update RocksDB to v10.2.1 (#89) 2025-06-09 20:45:14 +08:00
Jacek Sieka 54cbb3ad4f expose compression options (#86) 2025-06-03 09:45:06 +02:00
andri lim 43f7e2183e Replace travis and appveyor badge with GHA badge in README.md (#87) 2025-06-03 09:44:29 +02:00
bhartnett 92d25ea795 Improve build script (#85)
* Pass in NPROC in -j make parameter
2025-02-10 11:12:38 +08:00
Jacek Sieka 0e0c624bef expose missing ttl options (#84) 2025-01-30 19:33:58 +01:00
bhartnett 3df6bd7d65 Update RocksDb to version 9.10.0 (#83) v9.10.0.0 2025-01-29 12:18:59 +08:00
bhartnett 43c7857f15 Skip building static libs when vendered rocksdb version is unchanged (#82) 2025-01-29 10:22:20 +08:00
bhartnett 6149edce39 Use static linking on Linux and MacOS, dynamic on Windows (#81)
- We now only support static linking on Linux and MacOS. Windows is still only using dynamic linking.

- Dynamically linking can be enabled on Linux and MacOS using the 'rocksdb_dynamic_linking' flag but this is not documented and the dynamic libraries are not built in nimble install. They can be built using one of the build scripts if needed.

- Updated the wrapper generation so that we don't need to use dynlibOverride when using static linking.

- Static libs are copied to the same directory as the dll.

- Cleaned up the librocksdb.nim file which imports the rocksdb wrapper.

- Updated the tasks in the nimble file.
v9.8.4.0
2025-01-21 14:24:04 +08:00
bhartnett 985fb2c795 Update versioning to follow the upstream RocksDb version (#80) 2025-01-10 13:41:01 +08:00
bhartnett 3dd742aa7f Update RocksDb to version 9.8.4 (#79)
* Update submodules to use RocksDb v9.8.4
2025-01-10 12:25:08 +08:00
bhartnett d146f4a12e Fix nimble install on Fedora Linux (#78)
* Copy build directory during nimble install.

* Make VCPKG_CRT_LINKAGE dynamic.
2025-01-03 11:26:46 +08:00
bhartnett afc83391c9 Update RocksDb to version 9.7.2 (#75) 2024-12-10 11:47:04 +08:00
Jacek Siekaandbhartnett 17eb247702 expose memtable flush (#72)
* expose memtable flush

This can be used to avoid log replays on startup, for example

* Add flush to RocksDbReadWriteRef.

* Remove atomic flush default.

---------

Co-authored-by: bhartnett <51288821+bhartnett@users.noreply.github.com>
2024-10-29 08:14:36 +08:00
bhartnett 7b41c5c1e5 Update nim versions and macos builder (#71) 2024-10-07 12:49:48 +08:00
bhartnett 1e0d26211f Update RocksDb to v9.6.1 (#70)
* Update RocksDb to v9.6.1
2024-10-01 11:22:08 +08:00
web3-developer 2ae39ceb66 Bump RocksDb to v9.2.1 (#69)
* Bump RocksDb dependencies to v9.2.1

* Debug dlOpen.

* Static link dependencies.
2024-08-15 22:08:21 +08:00
Kim De Mey 965029e395 Use the make question option to avoid rebuild on macOS (#68)
There was already the earlier strange ` before the
"unity.a' is up to date message on macOS.

Turns out it might still not work on macOS because of certain
verbosity levels.

So use the question option instead of dry-run + grep as the
latter is more brittle, and the former is intended for this
purpose.
2024-07-26 16:18:18 +02:00
web3-developer 608d10a24e Use nph v0.6.0 in nimble format and run format on project. (#66) 2024-07-22 21:05:02 +08:00
web3-developer 9a6d85e8da Fix issue on MacOS where build is never skipped even when the build artifacts already exist. (#65) 2024-07-22 19:13:47 +08:00
web3-developer 92df0b067f Add support for snapshots. (#64)
* Add support for snapshots.
2024-07-10 13:15:40 +08:00
web3-developer cf1267e845 Add support for optimistic transaction db, write batch with index, keyMayExist and empty keys. (#63)
* Add support for optimistic transaction db.

* Add keyMayExist to RocksDbRef.

* Add support for write batch with index.

* Allow empty keys to be used in API.
2024-07-08 22:18:30 +08:00
web3-developer 6b7de5730b Implement missing getter and setters for option types. (#62)
* Update readme.

* Add additional opts getters and setters for ReadOptionsRef and WriteOptionsRef. Updated BackupEngineOptionsRef to use newer c library type.

* Add majority of option type getter and setters.
2024-07-03 23:46:42 +08:00
web3-developer d31b8b8a72 Build dynamic libraries for all platforms using vcpkg. (#61)
* Build dynamic libraries for all platforms using vcpkg.

* Cleanup CI.
2024-07-03 11:34:40 +08:00