0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00
Commit graph

652 commits

Author SHA1 Message Date
Jason Volk
af2115eee5 ircd::db: Add version compatibility for table_properties::num_deletions. 2020-09-24 13:20:24 -07:00
Jason Volk
a11a5613bb ircd::db: Reorg database options. 2020-09-24 02:58:32 -07:00
Jason Volk
245921c2b6 ircd::db: Yield context on stall condition callback to relieve some pressure. 2020-09-24 02:58:31 -07:00
Jason Volk
7201a11c7a ircd::db: Optimize iterator comparison operators. 2020-09-21 20:50:58 -07:00
Jason Volk
2741ab785c ircd::db: Inline trivial operator wrappers. 2020-09-21 20:50:58 -07:00
Jason Volk
8155c38f7f ircd::db: Compression hierarchy; increase compaction readahead; table options. 2020-09-21 20:50:57 -07:00
Jason Volk
312625bc08 ircd::db: Use ZSTD compression by default. 2020-09-20 12:50:17 -07:00
Jason Volk
e2ac5c6fc7 ircd::db: Use conf item for default compression string in descriptor. 2020-09-20 12:50:17 -07:00
Jason Volk
358008e8e7 ircd::db: Improve compression options; bottommost LZ4HC. 2020-09-19 07:47:21 -07:00
Jason Volk
6edb1d4eec ircd::db: Skip infolog under condition with mostly zero values. 2020-09-18 22:09:53 -07:00
Jason Volk
60382c2371 ircd::db: Improve universal compaction descent; flush on shutdown. 2020-09-18 18:47:15 -07:00
Jason Volk
5762513c73 ircd::db: Use warning level for certain compaction/flush reasons. 2020-09-18 18:47:15 -07:00
Jason Volk
229efaf486 ircd::db: Obtain file creation time if available in metadata. 2020-09-18 18:47:15 -07:00
Jason Volk
70860ecaa2 ircd::db: Add parallel read suite to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
ac64faee5f ircd::db: Minor reorder column definitions. 2020-09-17 10:49:41 -07:00
Jason Volk
66368d1cdc ircd::db: Add typedefs for parallel query argument templates. 2020-09-17 10:49:41 -07:00
Jason Volk
bd3d34adb2 ircd::db: Additional compaction log related. 2020-09-17 10:49:41 -07:00
Jason Volk
6fed4f53d7 ircd::db: Reorg options by compaction type. 2020-09-16 06:55:14 -07:00
Jason Volk
ebef47f32d ircd::db: Improve logged flush and compaction information. 2020-09-16 01:03:42 -07:00
Jason Volk
a2df9a9cdc ircd::db: Add conf item to toggle WAL in write opts. 2020-09-15 04:33:28 -07:00
Jason Volk
3cf21998ae ircd::db: Partial revert of 614f9cb31 due to unaligned throughput complications. 2020-09-15 04:33:28 -07:00
Jason Volk
8bdedb569c ircd::db: Add preliminary custom rate limiter drop-in. 2020-09-15 04:33:28 -07:00
Jason Volk
f7400edc75 ircd::db: Tweak write-side column buffer and level0 scale; concurrent flush. 2020-09-15 04:33:28 -07:00
Jason Volk
00657475d1 ircd::db: Relax assertions from concurrent flush.
ircd::db: Relax assertion when reflecting IO_TOTAL.
2020-09-15 04:33:28 -07:00
Jason Volk
121de5a6dc ircd::db: Fix comment; tweak universal compaction max width. 2020-09-14 14:16:31 -07:00
Jason Volk
ed01ed05dc ircd::db: Variable per-column write buffer derived from block size. 2020-09-12 22:31:06 -07:00
Jason Volk
614f9cb312 ircd::db: Enable asynchronous flush and compaction. 2020-09-12 07:03:21 -07:00
Jason Volk
afe0b96249 ircd::db: Support universal compaction by default; various write tweaks. 2020-09-12 07:03:21 -07:00
Jason Volk
da56bb1a9d ircd::db: Allow more L0 files before trigger for larger combines. 2020-09-10 23:50:47 -07:00
Jason Volk
f51ffb1530 ircd::db: Tweak block restart toward more conservative interval. 2020-09-10 12:45:44 -07:00
Jason Volk
a68702249d ircd::db: Add interface to count cache entries.
modules/console: Add count column to db cache cmd.
2020-09-08 22:27:06 -07:00
Jason Volk
a7b6001d49 ircd:Ⓜ️:db: Additional debug for txn contents. 2020-08-28 05:18:57 -07:00
Jason Volk
f16eb0b558 ircd::db: Use caller provided string buffer for debug. 2020-08-23 03:49:20 -07:00
Jason Volk
d51082ef17 ircd::db: Handle SST file query errors per column. 2020-08-10 11:32:24 -07:00
Jason Volk
59dd43917b ircd::db: Add note for delta encoding option; minor cleanup [ci skip] 2020-08-05 23:08:51 -07:00
Jason Volk
65296be413 ircd::db::database::sst: Add checksum data to info collection. 2020-08-05 22:33:33 -07:00
Jason Volk
439eafa59f ircd::db: Use default auto value for ttl setting. 2020-08-05 22:09:14 -07:00
Jason Volk
72c46fa9f5 ircd::db::database::sst: Simplify assignment for inherited. 2020-08-05 21:32:01 -07:00
Jason Volk
d5e59b95b9 ircd::db: Bump block table format version. 2020-08-05 20:34:32 -07:00
Jason Volk
df619e6010 ircd::db::column: Indicate noexcept for various out-of-lines. 2020-08-04 23:30:19 -07:00
Jason Volk
2e1fc0c234 ircd::db: Inline some trivial default comparators. 2020-07-28 01:22:02 -07:00
Jason Volk
f2c182b403 ircd::db: Set max_open_files=-1 when required for secondary mode.
ircd:Ⓜ️:dbs: Condition option from being set in slave/secondary mode.

ircd::db: Skip snapshot creation in slave/secondary mode (required).

ircd::db: Slave implies read-only.
2020-07-28 00:38:46 -07:00
Jason Volk
41db97fec0 ircd::db: Make default comparators noexcept. 2020-07-28 00:38:46 -07:00
Jason Volk
a0ae5162eb ircd::db: Add preliminary enum case for future use. 2020-07-25 09:10:49 -07:00
Jason Volk
d371fba034 ircd::db: Use reference to prevent string copy.
ircd:Ⓜ️ Fix reference/copy related warnings in clang-10.
2020-07-10 23:58:07 -07:00
Jason Volk
27fcfb3175 ircd::db: Align column cache allocations to block size. 2020-07-08 16:27:27 -07:00
Jason Volk
1c9ee622e5 ircd::db: Provide database stats instance for default column cache requirement. 2020-06-20 05:41:14 -07:00
Jason Volk
c41c632e94 ircd::db: Remove trailing newline in ABI version string. 2020-06-19 03:04:55 -07:00
Jason Volk
ba4c98d7e8 ircd::db: Minor remove cruft. (related 942e8330e6)
ircd::ios: Minor cleanup.
2020-06-18 20:07:40 -07:00
Jason Volk
22f4fd5046 ircd::db: Add fwd decl and accoutrements for rocksdb::PinnableSlice. 2020-06-18 20:07:40 -07:00