Jason Volk
|
7b4b6c479c
|
ircd::db: Use dead branch rather than comment for has() regression for now.
|
2018-10-21 04:41:21 -07:00 |
|
Jason Volk
|
5a82a2e4e5
|
ircd::db: Move stats ticker hostpoint from database::cache to database::column.
|
2018-10-20 23:30:27 -07:00 |
|
Jason Volk
|
f9fca347d8
|
ircd::db: Reverse the compaction priority strategy.
|
2018-10-18 17:32:18 -07:00 |
|
Jason Volk
|
9da3d20e5c
|
ircd::db: Precache required buffer alignment of random access file for repeat calls.
|
2018-10-18 08:27:03 -07:00 |
|
Jason Volk
|
c0058aa53c
|
ircd::db: Fix debug variable name error.
|
2018-10-18 08:00:57 -07:00 |
|
Jason Volk
|
bd6f46f488
|
ircd::db: Column options package; meta column block sizes tweak.
|
2018-10-17 22:12:41 -07:00 |
|
Jason Volk
|
468c7e6f07
|
ircd::db: Add metadata block size parameter to the descriptor.
|
2018-10-16 13:39:43 -07:00 |
|
Jason Volk
|
df4ad6daca
|
ircd::db: Column table options package post rocksdb v5.15 upgrade.
|
2018-10-16 09:13:53 -07:00 |
|
Jason Volk
|
167eb18470
|
ircd::db: Disable use of rocksdb KeyMayExist in db::has() due to regression.
|
2018-10-16 09:13:53 -07:00 |
|
Jason Volk
|
0ad41ea0ff
|
ircd::db: Assert no context switch on iterator creation calls.
|
2018-10-16 09:13:53 -07:00 |
|
Jason Volk
|
bed1d49b6e
|
ircd::db: Condition filter check on if used for column (rocksdb regression workaround).
|
2018-10-16 09:13:53 -07:00 |
|
Jason Volk
|
a24270d2bb
|
deps: RocksDB to v5.15.10.
|
2018-10-15 22:31:29 -07:00 |
|
Jason Volk
|
37b55e4b11
|
ircd::db: Options package for table metadata.
|
2018-10-14 08:53:46 -07:00 |
|
Jason Volk
|
2c054ec9ca
|
ircd::db: Comment with TODO about cache bloom filtering here.
|
2018-09-26 19:02:09 -07:00 |
|
Jason Volk
|
e542ef76fb
|
ircd::db: Add per-cache statistics.
|
2018-09-26 18:00:18 -07:00 |
|
Jason Volk
|
d9dc597c1c
|
ircd::db: Set a default high priority cache reserve percentage.
|
2018-09-26 02:44:20 -07:00 |
|
Jason Volk
|
3421667a45
|
ircd::db: Interface to get cache pinned usage.
|
2018-09-26 02:34:47 -07:00 |
|
Jason Volk
|
da46a2ac48
|
ircd::db: Do our own default sharding calc based on request context contention.
|
2018-09-26 02:03:31 -07:00 |
|
Jason Volk
|
65f52b0610
|
ircd::db: Remove the row pos seek.
|
2018-09-25 23:30:54 -07:00 |
|
Jason Volk
|
533d129322
|
ircd::db: Enable histogram interface; partial data tally.
|
2018-09-25 22:18:37 -07:00 |
|
Jason Volk
|
e5a96aab93
|
ircd::db: Deinline stats ctor; zero-init histogram; implement Reset().
|
2018-09-25 21:20:02 -07:00 |
|
Jason Volk
|
295a08fc07
|
ircd::db: Checkpoint these level hard-values for now.
|
2018-09-25 16:38:19 -07:00 |
|
Jason Volk
|
32496af5da
|
ircd::db: Ensure default init on int prop retval.
|
2018-09-25 15:07:56 -07:00 |
|
Jason Volk
|
8b27f7089d
|
ircd::db: Supply an insertion hint prefix extractor.
|
2018-09-25 02:37:29 -07:00 |
|
Jason Volk
|
4e3efb73d3
|
ircd::db: Use cfmd rather than live-files way to get column family metadata.
|
2018-09-24 23:10:27 -07:00 |
|
Jason Volk
|
2f3c461664
|
ircd::db: Place linkage for db comparators so they have one address.
|
2018-09-24 22:00:21 -07:00 |
|
Jason Volk
|
66e5a19751
|
ircd::db: Move the port define; explain.
|
2018-09-24 21:34:08 -07:00 |
|
Jason Volk
|
1959c8556c
|
ircd::db: Disable interruption in these frames fwiw.
|
2018-09-22 16:01:10 -07:00 |
|
Jason Volk
|
e745697448
|
ircd::db: Checkpoint some options related.
|
2018-09-22 16:01:10 -07:00 |
|
Jason Volk
|
3de9464058
|
ircd::db: Tweak/automake ingestion options related.
|
2018-09-22 15:04:39 -07:00 |
|
Jason Volk
|
e0bed2dc3e
|
ircd::db: Add sst dump writer; move sst tool.
|
2018-09-22 15:04:38 -07:00 |
|
Jason Volk
|
99ff78f5c7
|
ircd::db: Create an sst utility space; move fileinfo into sst.
|
2018-09-22 13:28:44 -07:00 |
|
Jason Volk
|
f7da7d9be8
|
ircd::db: Support SST dump tooling.
|
2018-09-21 17:33:34 -07:00 |
|
Jason Volk
|
7834c86360
|
ircd::db: Add support for direct SST file ingestion.
|
2018-09-21 15:08:57 -07:00 |
|
Jason Volk
|
ae36485d13
|
ircd::db: Add back the target level to range compact.
|
2018-09-20 23:30:51 -07:00 |
|
Jason Volk
|
795d62b1c7
|
ircd::db: Don't override uuid gen.
|
2018-09-20 23:30:51 -07:00 |
|
Jason Volk
|
7676bd0944
|
ircd::db: Add a fileinfo wrapping interface.
|
2018-09-20 15:57:15 -07:00 |
|
Jason Volk
|
f80aaa7904
|
ircd::db: Add util to get file list for specific column.
|
2018-09-20 15:56:46 -07:00 |
|
Jason Volk
|
c1a2e44ce0
|
ircd::db: Mask interruption; noexcept in filter overrides.
|
2018-09-19 17:16:08 -07:00 |
|
Jason Volk
|
7427ec991c
|
ircd::db: Add closure on manual compaction arguments.
|
2018-09-19 17:16:08 -07:00 |
|
Jason Volk
|
9afac08e40
|
ircd::db: Simplify compaction callback argument requirements w/ struct.
|
2018-09-19 17:16:07 -07:00 |
|
Jason Volk
|
53651ad808
|
ircd::db: Move database::descriptor out to db::descriptor.
|
2018-09-19 15:38:37 -07:00 |
|
Jason Volk
|
3abfb6b949
|
ircd::db: Some auto-compaction hard values for now.
|
2018-09-19 00:12:55 -07:00 |
|
Jason Volk
|
b979426f7a
|
ircd::db: Update event-listener related.
|
2018-09-18 18:37:46 -07:00 |
|
Jason Volk
|
fc09ba81af
|
ircd::db: Add compaction callback interface.
|
2018-09-18 15:07:09 -07:00 |
|
Jason Volk
|
176e70d2c7
|
ircd::db: Add table block_size setting to column descriptor.
|
2018-09-17 21:26:55 -07:00 |
|
Jason Volk
|
81d7ba8c39
|
ircd: Various string_view conversion fixes.
|
2018-09-13 06:47:52 -07:00 |
|
Jason Volk
|
09529ae311
|
ircd: Fix std::ios::openmode name.
|
2018-09-13 05:12:01 -07:00 |
|
Jason Volk
|
5e06c4795b
|
ircd: Replace any std::uncaught_exception() -> std::uncaught_exceptions().
|
2018-09-13 05:02:24 -07:00 |
|
Jason Volk
|
66edb4a7fb
|
ircd::db: Add custom cache stats ticker.
|
2018-09-05 03:13:05 -07:00 |
|
Jason Volk
|
7f43da8a07
|
ircd::db: Test if directory for db::available() listing.
|
2018-09-04 02:32:12 -07:00 |
|
Jason Volk
|
f7fbd0f5d2
|
ircd::db: Detect O_DIRECT possible for database directory on init.
|
2018-09-04 02:32:12 -07:00 |
|
Jason Volk
|
4f55dac071
|
ircd::db: Minor cleanup.
|
2018-09-03 21:43:31 -07:00 |
|
Jason Volk
|
60a0694853
|
construct: Add program option to disable direct IO.
|
2018-09-03 07:59:05 -07:00 |
|
Jason Volk
|
80d0db9f26
|
ircd::db: Remove unnecessary default to O_DIRECT.
|
2018-09-03 07:48:23 -07:00 |
|
Jason Volk
|
b0e9107870
|
ircd::db: Cache size cannot be strict here.
|
2018-09-03 03:24:37 -07:00 |
|
Jason Volk
|
6f940ab51e
|
ircd::db: Improve debug msg on column init.
|
2018-09-02 21:16:49 -07:00 |
|
Jason Volk
|
a5d014d10a
|
ircd::db: Use our cache wrapping for block and compressed column caches.
|
2018-09-02 17:53:24 -07:00 |
|
Jason Volk
|
084d434c59
|
ircd::db: Add internal cache wrapper interface; add comment.
|
2018-09-02 17:53:24 -07:00 |
|
Jason Volk
|
62426ab210
|
ircd::db: Add column prefetch.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
ca1ee19a47
|
ircd::db: Minor simplify.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
ff7d2514a0
|
ircd::db: Remove the cache prefetch/fetch interface.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
ac3b45604a
|
ircd::db: Move comment.
|
2018-08-30 07:21:44 -07:00 |
|
Jason Volk
|
b1aa733d95
|
ircd::db: Additional critical exclusion and interruption zones.
|
2018-08-28 21:53:17 -07:00 |
|
Jason Volk
|
5c6874c790
|
ircd::db: Get better required alignments for direct IO.
|
2018-08-28 20:15:40 -07:00 |
|
Jason Volk
|
d70ef25711
|
ircd::db: Simplify port entry checks.
|
2018-08-28 15:57:49 -07:00 |
|
Jason Volk
|
3833aa70cb
|
ircd::db: Additional trivial vtable placements.
|
2018-08-28 15:44:03 -07:00 |
|
Jason Volk
|
a4e4424ede
|
ircd: Improve main control flow for termination condition during init.
|
2018-08-28 15:04:23 -07:00 |
|
Jason Volk
|
8340f005da
|
ircd::db: Use terminate() on the request pool on ~init(); log messages.
|
2018-08-28 12:06:56 -07:00 |
|
Jason Volk
|
cd74a39330
|
ircd::db: Move the write mutex to a global and lock for compaction points too.
|
2018-08-26 20:46:59 -07:00 |
|
Jason Volk
|
0b98144cfe
|
ircd::db: Minor cleanup; assertions.
|
2018-08-24 10:59:22 -07:00 |
|
Jason Volk
|
84f4cbd359
|
ircd::db: Serialize entry to rdb's write impl to circumvent pthread deadlock.
|
2018-08-24 03:40:37 -07:00 |
|
Jason Volk
|
c94b6f02ca
|
ircd::db: Options package; no DIO writes
|
2018-08-24 03:40:25 -07:00 |
|
Jason Volk
|
1450678b83
|
ircd::db: Plug remaining filesystem operations into ircd::fs / AIO.
|
2018-08-24 00:40:35 -07:00 |
|
Jason Volk
|
6f2eeaec67
|
ircd::db: Full dressing on the environment.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
ec0670262e
|
ircd::db: Give some env callbacks handlers.
|
2018-08-23 18:57:24 -07:00 |
|
Jason Volk
|
bbcddbcf5b
|
ircd::db: Use our fs::size() for file sizing env callback.
|
2018-08-23 05:37:32 -07:00 |
|
Jason Volk
|
29d4ec71d5
|
ircd::db: Update env exception handlers to propagate to rocksdb.
|
2018-08-23 04:20:16 -07:00 |
|
Jason Volk
|
f630c28439
|
ircd::db: Add error_to_status conversion for rocksdb::Status.
|
2018-08-23 04:19:32 -07:00 |
|
Jason Volk
|
585f6c97c3
|
ircd::db: Minor cleanup.
|
2018-08-23 04:16:49 -07:00 |
|
Jason Volk
|
671170afb4
|
ircd::db: Use an ircd::assertive so failure happens in optimized mode here.
|
2018-08-23 02:19:28 -07:00 |
|
Jason Volk
|
824e3305a4
|
ircd::db: Implement WaitForJoin() to wait on all ctx pool joins.
|
2018-08-23 02:16:44 -07:00 |
|
Jason Volk
|
d01430e64a
|
ircd::db: Replace default sleep() callback with ctx::sleep().
|
2018-08-23 02:14:50 -07:00 |
|
Jason Volk
|
5239e49f4f
|
ircd::db: Improve opts related for random_access_file; minor cleanup.
|
2018-08-23 01:54:58 -07:00 |
|
Jason Volk
|
7698759d04
|
ircd::db: Integrate env::sequential_file with AIO.
|
2018-08-23 01:54:18 -07:00 |
|
Jason Volk
|
b753637385
|
ircd::db: request pool conf item set callback.
|
2018-08-22 14:37:52 -07:00 |
|
Jason Volk
|
b964f9520f
|
ircd::db: max_open_files must NOT be 0 or files are open/close too often.
|
2018-08-22 13:13:03 -07:00 |
|
Jason Volk
|
de973740e3
|
ircd::db: Additional db env debug log.
|
2018-08-22 12:56:17 -07:00 |
|
Jason Volk
|
23d0c7384d
|
ircd::db: Catch everything here because there's nowhere else to go.
|
2018-08-21 08:49:11 -07:00 |
|
Jason Volk
|
b3ff44d0fb
|
ircd::db: Fix the cache insert misapprehensions.
|
2018-08-21 00:49:40 -07:00 |
|
Jason Volk
|
6d3eb3ae85
|
fixup! ircd::db: Fix cache iteration interpretation.
|
2018-08-21 00:42:13 -07:00 |
|
Jason Volk
|
ca0dcd36e4
|
ircd::db: Supply fs::uuid in this env callback.
|
2018-08-21 00:21:06 -07:00 |
|
Jason Volk
|
1f8a756f23
|
ircd::db: Comment / minor cleanup.
|
2018-08-21 00:20:54 -07:00 |
|
Jason Volk
|
0f021e09d4
|
ircd::db: Fix cache iteration interpretation.
|
2018-08-21 00:20:30 -07:00 |
|
Jason Volk
|
11f266aa37
|
ircd::db: Fix exclusion and lock option required for cache iteration.
|
2018-08-21 00:19:53 -07:00 |
|
Jason Volk
|
d4c51a2d45
|
ircd::db: Disable interruption for rocksdb entry surface.
|
2018-08-19 20:11:41 -07:00 |
|
Jason Volk
|
c7080bf144
|
ircd::db: Disable interruption for these env surfaces.
|
2018-08-19 20:11:40 -07:00 |
|
Jason Volk
|
d4b98e04e9
|
ircd::db: Minor cleanup.
|
2018-08-19 18:35:42 -07:00 |
|
Jason Volk
|
0dd075ab78
|
ircd::db: Checkin some options related.
|
2018-08-19 01:16:49 -07:00 |
|
Jason Volk
|
b8936261b5
|
ircd::db: Add some exception handlers on these envs.
|
2018-08-19 01:14:54 -07:00 |
|