0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-19 19:33:45 +02:00
Commit graph

46 commits

Author SHA1 Message Date
Jason Volk 8a705f77a9 ircd::db: Fixes for RocksDB 8.1.1 interface changes. 2023-04-29 13:57:37 -07:00
Jason Volk c3c73fcbe7 ircd: Promote slave-mode to a non-maintenance mode allowing listeners. 2023-03-19 13:21:11 -07:00
Jason Volk 19462b5fae ircd: Remove write_avoid mode replaced by maintenance mode. 2023-03-19 13:21:11 -07:00
Jason Volk 96b1d68933 ircd::db: Add paranoid check conf suite; open stats confs; feature defines. 2023-03-19 13:21:11 -07:00
Jason Volk cc36c17c03 ircd::db: Update for Cache interface refactor; reflections. (RocksDB 8.0) 2023-03-17 21:25:15 -07:00
Jason Volk 1e4f44f41d ircd::db: Deprecate compressed block cache. (RocksDB 8.0) 2023-03-17 21:25:15 -07:00
Jason Volk ab7dd15618 ircd::db: Add conf items to connect database options to ircd::conf. 2023-02-27 21:52:27 -08:00
Jason Volk 7f45a7eb63 ircd::db::stats: Move rocksdb stats item names up one level. 2023-02-27 21:52:27 -08:00
Jason Volk 096a67ff8d ircd::db: Add circuit-breaker to disable compaction per-column in the descriptor. 2023-02-25 00:37:31 -08:00
Jason Volk 647babdcbe ircd::db: Consistent interruption masking on rocksdb entry; minor cleanup. 2023-02-22 16:04:11 -08:00
Jason Volk 17f0923eff ircd::db::database::logger: Additional conditions for debug level in any build mode. 2023-02-19 16:06:46 -08:00
Jason Volk 6e33d52bda ircd::db::database: Hide dangerous best_efforts_recovery behind all-caps options. 2023-02-19 13:33:47 -08:00
Jason Volk 06583f7bfb ircd::db::database: Use INFO level for table file closed on shutdown. 2023-02-18 22:19:30 -08:00
Jason Volk d48e6ccb8d ircd::db::database::snapshot: Minor cleanup; inline, noexcept. 2023-02-16 16:01:02 -08:00
Jason Volk 762703698c Replace various #ifdef RB_DEBUG with if constexpr for regression visibility. 2023-02-09 12:11:32 -08:00
Jason Volk 5005dea8a4 configure: Apply -Wimplicit-fallthrough. 2023-02-02 18:51:03 -08:00
Jason Volk 89e44ce8e9 ircd: Apply branch expectation attributes to various case labels. 2023-02-02 18:51:03 -08:00
Jason Volk c2ee855346 ircd::db::database::env: Replace RB_DEBUG_DB_ENV w/ if constexpr. 2023-01-19 19:58:22 -08:00
Jason Volk feb7524fe0 ircd::db::database::events: Use explicitly defined non-sequence index args. 2023-01-15 22:32:00 -08:00
Jason Volk e38825030f ircd::db: Add descriptor field for level0 compaction trigger. 2022-07-29 22:30:09 -07:00
Jason Volk ea68ccdda1 ircd::db: Use lower level0 compaction trigger to reduce read amp. 2022-07-11 15:08:17 -07:00
Jason Volk 32d92b96ca ircd::db::prefetcher: Additional debuglog in shutdown sequence. 2022-07-02 21:39:11 -07:00
Jason Volk 5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk 2d3fe97fe9 ircd::db::database: Fix fdelections() call in read-only mode; minor cleanup. 2022-06-28 22:43:48 -07:00
Jason Volk 445fe80d75 ircd::db::database::cache: Add constant conditional verbose debug log msgs. 2022-06-17 21:11:54 -07:00
Jason Volk 8338eb0ae2 ircd::db::database::events: Log level WARNING for aborting table file create. 2022-06-17 21:11:54 -07:00
Jason Volk 7bc7703a7b ircd::db::database::sst: Disable sst tool due to linkage variance between versions. 2022-06-17 21:11:54 -07:00
Jason Volk 04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk d0a1d32488 ircd::db: Add SST scan interface w/ console suite. 2022-06-17 21:11:52 -07:00
Jason Volk 7cd34cba0a ircd::db: API fixes for RocksDB v6.22+. 2021-09-15 01:44:36 -07:00
Jason Volk d52d6bc042 ircd::db: Add conf item to disable file deletion on open; add to -safe mode diagnostic. 2021-01-04 01:12:49 -08:00
Jason Volk 78cbd244c4 ircd::db: Lower the global write mutex to database instance member. 2020-12-23 03:56:43 -08:00
Jason Volk 22b30b1a0a ircd::db::database: Track state of WriteStallCondition in our column instance. 2020-12-21 00:44:14 -08:00
Jason Volk d884757155 ircd::db: Use computed level0 triggers; indicate rocksdb invariant from warnlog. 2020-12-21 00:44:14 -08:00
Jason Volk 510b8d4aad ircd::db: Remove yield in several callbacks; assertion for stoppage. 2020-12-21 00:44:14 -08:00
Jason Volk a049063562 ircd::db: Additional debuglog in releasemode; tweak formats; improve msgs. 2020-12-21 00:22:22 -08:00
Jason Volk f3886d60d8 ircd: Replace callsites w/ template deduced mutable_cast. 2020-11-05 22:10:53 -08:00
Jason Volk cd2a71d3c2 construct: Remove -checkdb flag; replace w/ -diagnostic checkdb. 2020-11-05 22:10:53 -08:00
Jason Volk 5d55188294 ircd::db::database::events: Add log level case for unrecoverable severity. 2020-10-31 12:05:51 -07:00
Jason Volk eaefcceefb ircd::db::database: Pair 'recover' open value with WAL skip consistency. 2020-10-29 07:49:04 -07:00
Jason Volk 1e1f4982fa ircd::db::database::wal_filter: Improve debug output. 2020-10-28 03:31:55 -07:00
Jason Volk 71879a9fa1 ircd::db: Allow conditional debuglog message in release-mode; minor cleanup. 2020-10-27 22:44:05 -07:00
Jason Volk 543ff4d820 ircd::db::database::sst: Improve compression percentage related. 2020-10-14 21:07:03 -07:00
Jason Volk 560eb12f68 ircd::db::database::sst: Add file id integer to info struct. 2020-10-14 02:22:45 -07:00
Jason Volk 08572e750f ircd::db: Add descriptor item for write_buffer_blocks; tweak values/defaults. 2020-10-13 14:55:38 -07:00
Jason Volk 841e7dc35b ircd::db: Split db::database into unit. 2020-10-11 11:42:48 -07:00