Jason Volk
|
3b78c9154a
|
ircd:Ⓜ️:event: Skip non-existent columns in m::cached() check.
|
2019-01-24 12:02:58 -08:00 |
|
Jason Volk
|
f1a6654f21
|
ircd:Ⓜ️ Remove any options which toggle full json persistence.
|
2019-01-24 11:37:26 -08:00 |
|
Jason Volk
|
5ea765642e
|
ircd:Ⓜ️:dbs: Drop the hashes column.
|
2019-01-24 11:12:41 -08:00 |
|
Jason Volk
|
c551777f7b
|
ircd:Ⓜ️:dbs: Drop the signatures column.
|
2019-01-24 11:12:15 -08:00 |
|
Jason Volk
|
d7fa6ff04c
|
ircd::db: Update row ctor to ignore missing requested columns by name.
|
2019-01-24 10:52:05 -08:00 |
|
Jason Volk
|
a95b688925
|
ircd:Ⓜ️:dbs: Drop the prev_state column from schema.
|
2019-01-23 16:11:26 -08:00 |
|
Jason Volk
|
b439e935ab
|
ircd:Ⓜ️ Use more generic exception catch here.
|
2019-01-23 16:10:50 -08:00 |
|
Jason Volk
|
c2521b587b
|
ircd::db: Consider if column dropped for boolean test.
|
2019-01-23 16:10:22 -08:00 |
|
Jason Volk
|
92154be55d
|
ircd:Ⓜ️ Use event::keys::selection bitset in event::fetch::opts rather than event::keys.
|
2019-01-23 15:36:02 -08:00 |
|
Jason Volk
|
2b9e2c850e
|
ircd::db: Remove the txn::append template iteration over a json::tuple.
|
2019-01-23 15:34:56 -08:00 |
|
Jason Volk
|
764585e370
|
ircd:Ⓜ️:dbs: Move direct column append into function; minor cleanup.
|
2019-01-23 14:47:47 -08:00 |
|
Jason Volk
|
2fd50fc9af
|
ircd::db: Split db.cc into db_env.cc and db_port.cc.
|
2019-01-23 14:08:02 -08:00 |
|
Jason Volk
|
ecd158f375
|
ircd::db: Create database/env.h index of all database/env/ headers.
|
2019-01-23 13:34:50 -08:00 |
|
Jason Volk
|
f01a72c8f6
|
ircd:Ⓜ️ Merge m_request.cc into m.cc
|
2019-01-23 13:28:51 -08:00 |
|
Jason Volk
|
cd30a01e9d
|
ircd:Ⓜ️ Move all ircd/m/* units up to ircd/.
|
2019-01-23 13:24:53 -08:00 |
|
Jason Volk
|
14b57f2eac
|
ircd: Rename aio.h/aio.cc with fs_ prefix.
|
2019-01-23 13:20:38 -08:00 |
|
Jason Volk
|
f95ed6851b
|
ircd::json: Deinline / defriend various json::object related.
|
2019-01-22 12:04:23 -08:00 |
|
Jason Volk
|
39dde3b323
|
ircd::json: deinline / defriend various json::member related.
|
2019-01-22 11:43:55 -08:00 |
|
Jason Volk
|
0d78a07f55
|
ircd::json: Minor reorg / cleanup; improve some thrown errors.
|
2019-01-22 11:05:30 -08:00 |
|
Jason Volk
|
c9a4690d0c
|
ircd::json: Add escape mapping; unify the string generators.
|
2019-01-21 15:34:57 -08:00 |
|
Jason Volk
|
efc4831497
|
ircd::json: Improve conformity of various limitation constants.
|
2019-01-21 14:38:34 -08:00 |
|
Jason Volk
|
b2caba08a9
|
ircd::util: Fix u2a() input casting.
|
2019-01-19 13:42:05 -08:00 |
|
Jason Volk
|
950f989cf0
|
ircd::crh: Add HMAC support.
|
2019-01-19 13:20:58 -08:00 |
|
Jason Volk
|
18091eeb46
|
ircd::crh: Add sha1 hashing device.
|
2019-01-19 12:25:55 -08:00 |
|
Jason Volk
|
1041118b9b
|
ircd:Ⓜ️:sync: Add catch handler for more descriptive error.
|
2019-01-18 15:09:39 -08:00 |
|
Jason Volk
|
0dd6abf9ca
|
ircd: Options package in preparation for lto.
|
2019-01-18 14:54:04 -08:00 |
|
Jason Volk
|
51c5ffbb5e
|
ircd:Ⓜ️:event::fetch: Eliminate the selected_only option; make unconditional.
|
2019-01-18 14:54:04 -08:00 |
|
Jason Volk
|
b947aee02d
|
ircd:Ⓜ️ Fix subobject-linkage.
|
2019-01-18 14:54:04 -08:00 |
|
Jason Volk
|
4d05fe0353
|
ircd:Ⓜ️:event::fetch: Reorg / cleanup internal interface.
|
2019-01-18 14:33:42 -08:00 |
|
Jason Volk
|
84309261b2
|
ircd::fs::aio: Even more counters.
|
2019-01-18 10:14:38 -08:00 |
|
Jason Volk
|
aeea524ac9
|
ircd::net: Improve listener interface w/ instance reference in callbacks.
|
2019-01-18 10:14:37 -08:00 |
|
Jason Volk
|
d639eceba2
|
ircd: Move runlevel related into ircd::run:: namespace.
|
2019-01-18 09:08:56 -08:00 |
|
Jason Volk
|
36bcb9a300
|
ircd::db: Remove the handles vector optimization.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
bb354c5c05
|
ircd::db: Bypass row iterator creation when not seeking on construction.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
42d9f6dc79
|
ircd:Ⓜ️:event::fetch: Simplify opts ctor; minor cleanup.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
197478b531
|
ircd:Ⓜ️ Replace magic buffer sizes; minor cleanup.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
95cb4329fe
|
ircd::log: Remove unconditional critical output from stdout (remains for stderr).
Removed due to mark() causing critical output.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
1fb64a8924
|
ircd:Ⓜ️:event::fetch: Set the fetch.valid state after index lookup failure.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
1eca2cafb3
|
ircd::fs::aio: Optimize the syscall pattern by selectively reading the eventfd.
|
2019-01-17 13:21:43 -08:00 |
|
Jason Volk
|
a61d9e5d96
|
ircd:Ⓜ️:event::fetch: Add option for tight-to-selections.
|
2019-01-16 18:35:58 -08:00 |
|
Jason Volk
|
9e450cd912
|
ircd:Ⓜ️:room::messages: Fix fetch() wrapping; pass any fopts.
|
2019-01-16 18:09:36 -08:00 |
|
Jason Volk
|
1b9e306ff0
|
ircd:Ⓜ️:event::fetch: Various fixes / minor reorg.
|
2019-01-16 18:08:31 -08:00 |
|
Jason Volk
|
147ec1763b
|
ircd:Ⓜ️:event::fetch: Clear source on subsequent valid row seek().
|
2019-01-16 17:53:24 -08:00 |
|
Jason Volk
|
c4b17c293a
|
ircd:Ⓜ️:event::fetch: Condition on a valid event_idx here.
|
2019-01-16 16:38:58 -08:00 |
|
Jason Volk
|
8b05ea9d39
|
ircd:Ⓜ️:event::fetch: Add some assertions on the seek().
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
c43a0e49ab
|
ircd::db: Tweak cell::valid() stack.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
f9127e5681
|
ircd:Ⓜ️:event::fetch: Obey keys selection when fetching event with full json query.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
fc703660f6
|
ircd:Ⓜ️ Add selecting-key ctor for event from json::object.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
2b12c8a9c5
|
ircd:Ⓜ️:dbs: Use event source if available; add write options.
|
2019-01-16 15:55:08 -08:00 |
|
Jason Volk
|
f857e25ea7
|
ircd:Ⓜ️:event: Add a source json::object as a member.
|
2019-01-16 14:35:10 -08:00 |
|
Jason Volk
|
11607b3993
|
ircd:Ⓜ️:dbs: Use conditional column constructors for event columns.
|
2019-01-16 13:47:45 -08:00 |
|
Jason Volk
|
0652dfbc59
|
ircd::db: Allow null column transactions to be ignored rather than erroneous.
|
2019-01-16 13:46:15 -08:00 |
|
Jason Volk
|
918bc95d1a
|
ircd::db: Add nothrow column construction overload.
|
2019-01-16 13:23:00 -08:00 |
|
Jason Volk
|
4ded053406
|
ircd::db: Add cfid() lookup suite.
|
2019-01-16 13:21:36 -08:00 |
|
Jason Volk
|
5ae495031f
|
ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup.
|
2019-01-16 12:19:25 -08:00 |
|
Jason Volk
|
2171cc23e8
|
ircd::db: Fix cell::load seek validation.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
8b1887c5f8
|
ircd::fs::aio: Fix assertion.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
c5489cecb0
|
ircd:Ⓜ️:event::fetch: Add options to seek(); add event_json query branch.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
c314a9bb78
|
ircd:Ⓜ️:dbs: Add event_json column with conditional indexer.
|
2019-01-15 15:36:18 -08:00 |
|
Jason Volk
|
7c998e48ed
|
ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack.
|
2019-01-15 13:00:15 -08:00 |
|
Jason Volk
|
1ab20cf721
|
ircd:Ⓜ️ Reorg / split / de-friend-inject various event interfaces.
|
2019-01-15 12:49:53 -08:00 |
|
Jason Volk
|
482112b369
|
ircd::mods: Improve exception translation.
|
2019-01-13 16:55:52 -08:00 |
|
Jason Volk
|
1a53b0e6e4
|
ircd::ctx: Improve exception handling at base frame.
|
2019-01-13 16:37:31 -08:00 |
|
Jason Volk
|
cbf456a388
|
ircd: Rename and refactor ircd::assertion interface into ircd::panic.
|
2019-01-13 16:37:31 -08:00 |
|
Jason Volk
|
ea4c3447c6
|
ircd::fs::aio: Simplify various conditions; add various comments; cleanup.
|
2019-01-13 14:02:03 -08:00 |
|
Jason Volk
|
4871928bfa
|
ircd::ctx: Partial de-inline of dock methods.
|
2019-01-13 13:57:34 -08:00 |
|
Jason Volk
|
3fae228c1a
|
ircd::json: Simplify json::object interface: eliminate path traversing overloads.
|
2019-01-12 16:47:48 -08:00 |
|
Jason Volk
|
b42ded1fc7
|
ircd::http: Add string views to make the raw head data available.
|
2019-01-12 11:56:00 -08:00 |
|
Jason Volk
|
d5956f47f7
|
ircd:Ⓜ️ Fix the m::cached logic to discount missing values.
|
2019-01-11 17:38:33 -08:00 |
|
Jason Volk
|
655d4e41c6
|
ircd::db: Configuration package.
|
2019-01-11 17:37:51 -08:00 |
|
Jason Volk
|
cbc4ddefe4
|
ircd::db: Fix issues with cache queries.
|
2019-01-11 17:36:05 -08:00 |
|
Jason Volk
|
d3d5f03b8c
|
ircd::db: Ensure no internal block cache is created by rocksdb when do not want.
|
2019-01-11 16:48:57 -08:00 |
|
Jason Volk
|
f55ad72ed5
|
ircd::db: Maintain our own names for caches.
|
2019-01-11 16:21:04 -08:00 |
|
Jason Volk
|
9a42fd9f60
|
ircd::db: Prevent submitting row with one cell to request pool.
|
2019-01-11 14:01:56 -08:00 |
|
Jason Volk
|
0f20a6a6ba
|
ircd::db: Improve row seek debugging and related.
|
2019-01-11 13:57:35 -08:00 |
|
Jason Volk
|
1198f7bc56
|
ircd::json::stack: Add object::append() convenience.
|
2019-01-10 16:58:44 -08:00 |
|
Jason Volk
|
4c495e1f44
|
modules/client/sync: Various cleanup / simplify.
|
2019-01-10 16:58:37 -08:00 |
|
Jason Volk
|
b15d3b929f
|
ircd:Ⓜ️:room::messages: Support seeking to event index of 0 for begin.
|
2019-01-10 13:17:01 -08:00 |
|
Jason Volk
|
2d860b25a8
|
ircd:Ⓜ️:sync: Checkpoint.
|
2019-01-09 20:39:12 -08:00 |
|
Jason Volk
|
5815fc87c2
|
ircd:Ⓜ️:events: Simplify interface.
|
2019-01-09 18:08:29 -08:00 |
|
Jason Volk
|
6c96e0d785
|
ircd:Ⓜ️:events: Simplify the for_each iteration interface.
|
2019-01-09 17:11:00 -08:00 |
|
Jason Volk
|
179d40fd21
|
ircd:Ⓜ️ Optimize event property query.
|
2019-01-08 17:17:41 -08:00 |
|
Jason Volk
|
443905859f
|
ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules.
|
2019-01-08 17:17:41 -08:00 |
|
Jason Volk
|
f9ec33916c
|
ircd::json::stack: Add internal convenience member instance in the object and array class.
|
2019-01-08 15:53:41 -08:00 |
|
Jason Volk
|
ce999b916a
|
ircd::json::stack: Add chase device; add top() conveniences.
|
2019-01-08 11:06:00 -08:00 |
|
Jason Volk
|
cf6fc070a7
|
ircd::json::stack: Keep state for member append; null member if no append.
|
2019-01-07 14:00:24 -08:00 |
|
Jason Volk
|
7df8a8a20c
|
ircd::util: Add more pretty date units.
|
2019-01-07 13:22:47 -08:00 |
|
Jason Volk
|
b0b404b172
|
ircd::aio: Handle EINTR on the read(); clarify comment.
|
2019-01-05 18:16:41 -08:00 |
|
Jason Volk
|
005e4217ed
|
ircd::mods: Various cleanup.
|
2019-01-05 17:18:08 -08:00 |
|
Jason Volk
|
b878f577d5
|
ircd:Ⓜ️:user: Add a query for user to user visibility.
|
2019-01-04 14:47:46 -08:00 |
|
Jason Volk
|
61e88e75bc
|
modules/client/sync: Additional sync items reorganization.
|
2019-01-04 14:47:01 -08:00 |
|
Jason Volk
|
136d3a61a3
|
ircd::net::acceptor: Move socket close calls to exception handlers.
|
2019-01-04 12:44:29 -08:00 |
|
Jason Volk
|
86911226ed
|
ircd:Ⓜ️ Preliminary modular client sync system.
|
2019-01-03 17:21:02 -08:00 |
|
Jason Volk
|
ab121835af
|
ircd::log: Log critical messages to all outputs and ignore all masks.
|
2019-01-03 15:56:21 -08:00 |
|
Jason Volk
|
23b8874dc8
|
ircd::json::stack: Add a throw point before array append.
|
2019-01-03 15:54:53 -08:00 |
|
Jason Volk
|
815252e71f
|
ircd: Remove unused ap/cbor on this branch.
|
2019-01-02 12:27:17 -08:00 |
|
Jason Volk
|
c2103ec0d6
|
ircd::fs: Add sysfs access interface.
|
2019-01-01 21:15:10 -08:00 |
|
Jason Volk
|
23c1a87c4c
|
ircd::fs: Add tools for device related.
|
2019-01-01 19:53:12 -08:00 |
|
Jason Volk
|
b091fc7acb
|
ircd::client: Fix typo.
|
2018-12-31 20:18:02 -08:00 |
|
Jason Volk
|
03d78b3ce8
|
ircd::resource: Use pretty format for X-IRCd-Request-Timer header.
|
2018-12-31 20:09:25 -08:00 |
|
Jason Volk
|
f6c6250fcb
|
ircd:;db: Add the file size to the table file creation log msg.
|
2018-12-31 16:26:57 -08:00 |
|
Jason Volk
|
eba727a9db
|
ircd::db: Add a counter for the env pool tasks.
|
2018-12-31 16:12:10 -08:00 |
|
Jason Volk
|
b169f0cc80
|
ircd::db: Log more detailed table creation statistics.
|
2018-12-31 16:01:24 -08:00 |
|
Jason Volk
|
bc12702ed7
|
ircd::db: Log more detailed compaction job statistics.
|
2018-12-31 15:36:25 -08:00 |
|
Jason Volk
|
3b2188280a
|
util: Use more compact fmt for abbrev time.
|
2018-12-31 15:22:09 -08:00 |
|
Jason Volk
|
8f6c17aeb1
|
ircd::db: Fix log msg.
|
2018-12-31 14:34:10 -08:00 |
|
Jason Volk
|
11429bfff1
|
ircd::client: Tweak the loghead format.
|
2018-12-31 13:04:35 -08:00 |
|
Jason Volk
|
c15a44f921
|
ircd::net: Improve socket identification in various log messages.
|
2018-12-31 12:57:32 -08:00 |
|
Jason Volk
|
d983970907
|
ircd::http: Improve conditions for header generation.
|
2018-12-31 12:28:28 -08:00 |
|
Jason Volk
|
57079c0276
|
ircd::http: Add more functionality to headers class.
|
2018-12-31 12:28:28 -08:00 |
|
Jason Volk
|
6a25df6582
|
ircd::http: Check for user supplied header before generating one.
|
2018-12-30 18:07:18 -08:00 |
|
Jason Volk
|
6e71c05586
|
ircd:Ⓜ️:error: Improve constructions; ensure json content-type.
|
2018-12-30 17:35:34 -08:00 |
|
Jason Volk
|
af37529470
|
ircd:Ⓜ️:vm: Add a second sequence number; split out pdu write function.
|
2018-12-30 17:09:57 -08:00 |
|
Jason Volk
|
7bc1eee991
|
ircd::db: Add alignment assertion on read callback.
|
2018-12-30 15:13:29 -08:00 |
|
Jason Volk
|
b36b34be30
|
ircd::client: Reuse the request timer as an async timer.
|
2018-12-30 15:13:00 -08:00 |
|
Jason Volk
|
43a354da49
|
ircd::util: Add a format option for pretty_nanoseconds() et al for abbreviated units.
|
2018-12-30 13:38:14 -08:00 |
|
Jason Volk
|
ba7ad88d7a
|
ircd::aio: Additional assertion.
|
2018-12-29 20:15:24 -08:00 |
|
Jason Volk
|
663b164f39
|
ircd::fs: Abstract the common options into opts struct.
|
2018-12-29 20:02:22 -08:00 |
|
Jason Volk
|
3bec2c27d4
|
ircd::db: Set a lower priority io value for the LOW pool.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
a36d473708
|
ircd::fs::aio: Rename function.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
c8d5543c11
|
ircd::fs::aio: Improve handling of return and error behaviors of io_submit.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
afba6c2b5c
|
ircd::fs::aio: Add close-on-exec flag to the eventfd.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
5b934c5e71
|
ircd::db: Tweak error formatting.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
2e1828adbf
|
ircd::rfc3986: De-template grammar; fix rule array.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
3466597981
|
ircd::fs: Various reorg; cleanup.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
7e023beb4f
|
ircd::db: Reduce env debug noise when no compaction callback.
|
2018-12-28 18:18:13 -08:00 |
|
Jason Volk
|
12401c70aa
|
ircd::db: Don't start background tasks before runlevel::RUN.
|
2018-12-28 17:53:26 -08:00 |
|
Jason Volk
|
6784be5be8
|
ircd::db: Tweak interruption points; cleanup.
|
2018-12-28 17:14:19 -08:00 |
|
Jason Volk
|
c93cd90db1
|
ircd::aio: Simplify stats.
|
2018-12-28 16:30:27 -08:00 |
|
Jason Volk
|
30dc2ce7ed
|
ircd::fs: Various cleanup / renames.
|
2018-12-28 15:30:29 -08:00 |
|
Jason Volk
|
16ebbbfa8a
|
ircd::ctx: Move and adjust default stack size.
|
2018-12-28 14:07:40 -08:00 |
|
Jason Volk
|
d786079fca
|
ircd::log: Check if ios is available as a condition for vlog_threadsafe().
|
2018-12-28 13:24:33 -08:00 |
|
Jason Volk
|
a66d5082d7
|
ircd::ctx: Prevent spawning initial pool contexts when no ios available.
|
2018-12-28 13:24:33 -08:00 |
|
Jason Volk
|
c97fcb3b2a
|
ircd::ios: Add function to check if an ios available.
|
2018-12-28 13:05:03 -08:00 |
|
Jason Volk
|
4a47b39298
|
ircd::ctx: Create and use an options structure for ctx::pool.
|
2018-12-28 12:57:32 -08:00 |
|
Jason Volk
|
fe0f548496
|
ircd::db: Update / cleanup / comment various opts related.
|
2018-12-28 10:55:57 -08:00 |
|
Jason Volk
|
c82382ea2c
|
ircd::db: Use a zero soft-limit to yield all requests when saturated; prefetch condition.
|
2018-12-27 17:20:43 -08:00 |
|
Jason Volk
|
5ae69dde95
|
ircd::ctx: Check for termination to condition pool work loop.
|
2018-12-27 17:20:43 -08:00 |
|
Jason Volk
|
364302c212
|
ircd::ctx: Add soft and hard limit logic for submitting to pool.
|
2018-12-27 17:20:42 -08:00 |
|
Jason Volk
|
dad9ec8e44
|
ircd::fs: Increase default io_submit threshold.
|
2018-12-27 15:05:21 -08:00 |
|
Jason Volk
|
62bf807ad2
|
ircd::db: Wire up more IOPriority and write_opts related.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
7f41ca2f48
|
ircd::fs: Add nodelay option to write_opts; relax the flush on write by default.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
29fd84010f
|
ircd::db: RocksDB does its own read loop for sequential_file.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
beb7a0c180
|
ircd::db: Bypass call for block_size when not direct io.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
0c5ebde1fc
|
ircd::fs::aio: Add blocking point to manage io_submit's in flight; various reorg.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
69ae8308e5
|
ircd::fs::aio: Various improvements; fix cancel w/ queue; class member queues rather than tls.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
e58a975750
|
ircd::fs: Use a nice-style value for request priority; default to zero.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
2f5d175957
|
ircd::db: Add cached membership test to row interface.
|
2018-12-26 19:45:04 -08:00 |
|
Jason Volk
|
13621feca0
|
ircd::db: Use better cache membership test.
|
2018-12-26 19:44:26 -08:00 |
|
Jason Volk
|
38920719de
|
ircd:Ⓜ️ Add suite to check if event is cached.
|
2018-12-26 19:01:13 -08:00 |
|