0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-01 03:18:54 +01:00
Commit graph

666 commits

Author SHA1 Message Date
Jason Volk
7751f9d0fa ircd::db: Optimize db::cached() query. 2020-12-06 10:27:27 -08:00
Jason Volk
f3886d60d8 ircd: Replace callsites w/ template deduced mutable_cast. 2020-11-05 22:10:53 -08:00
Jason Volk
f026e81a07 ircd: Instrument against string_view(string&&) impossible construction.. 2020-10-28 03:31:55 -07:00
Jason Volk
87b1b764c1 ircd::db: Add convenience overload debug(rocksdb::WriteBatch) 2020-10-27 22:44:06 -07:00
Jason Volk
e856d6e36f ircd::db: Optimize valid() for likely fast backward condition. 2020-10-12 18:47:24 -07:00
Jason Volk
bc00c111f1 ircd::db: Convert to jump complex due to random access penalties over rocksdb options struct. 2020-10-12 18:39:45 -07:00
Jason Volk
6b915da4ab ircd::db: Optimize internal linkages; valid() / make_opts() on the hotpath. 2020-10-11 17:36:03 -07:00
Jason Volk
7be03dda17 ircd::db: Move conf item into namespace. 2020-10-11 17:36:03 -07:00
Jason Volk
841e7dc35b ircd::db: Split db::database into unit. 2020-10-11 11:42:48 -07:00
Jason Volk
e5b1e31f7e ircd::db: ifdef rate_limiter verbose debug msg. 2020-10-07 15:12:12 -07:00
Jason Volk
12771f1965 ircd::db: Clamp column arena size option. 2020-10-07 03:41:55 -07:00
Jason Volk
6d8a4ab5d6 ircd::db: Preliminary compression string-options after space in descriptor value. 2020-10-01 19:15:15 -07:00
Jason Volk
fecd009ffb ircd:Ⓜ️:db: Fix accounting for index compression.
Revert 1051e740cc.
2020-09-30 19:40:29 -07:00
Jason Volk
ca7b7b0c61 ircd::db: Move computed properties from console into info struct. 2020-09-29 08:01:14 -07:00
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