Jason Volk
cc818f15b6
ircd::resource: Add stats for methods.
2018-11-05 20:45:30 -08:00
Jason Volk
8217b51526
ircd::resource: Reorg resource/method handler stack; devirtualize resource.
2018-11-05 20:45:30 -08:00
Jason Volk
d49b3ba7dd
ircd::resource: Minor reorg class layout / opts.
2018-11-05 19:14:53 -08:00
Jason Volk
cbbfbcac72
ircd::db: Optimize away one of the row ctor's vector heap allocations.
2018-11-05 17:12:29 -08:00
Jason Volk
e03d36aa48
ircd::allocator: Add allocator::scope device.
2018-11-05 16:45:08 -08:00
Jason Volk
2914487aad
ircd::json: Add more explicit integer ctors to value; minor reorg ctors.
2018-11-04 18:00:24 -08:00
Jason Volk
9299b0df9f
ircd: Make ircd::terminate / ircd::assertion funcjects.
2018-11-04 18:00:24 -08:00
Jason Volk
9d7032e29e
ircd: Ⓜ️ :room: Make the state iteration readahead value a conf item.
2018-11-02 20:05:11 -07:00
Jason Volk
8af997ab2e
ircd: Ⓜ️ :room: Add conf item to disable all state btree history queries.
2018-11-02 20:04:17 -07:00
Jason Volk
5236790228
ircd: Ⓜ️ Handle json::not_found on index() for more descriptive error.
2018-11-02 19:42:20 -07:00
Jason Volk
6b1fd6c559
ircd: Ⓜ️ :dbs: Remove the _event_bad column; patch event exists/good/bad stack.
2018-11-02 19:42:20 -07:00
Jason Volk
a5955fc9ae
ircd: Ⓜ️ :dbs: Options package; configuration tweak.
2018-11-02 19:15:57 -07:00
Jason Volk
25e6cd1332
ircd::db: Add compression string option to column descriptor.
2018-11-02 18:32:47 -07:00
Jason Volk
8311c1e7ff
ircd::db: Improve supported compressions listing w/ console cmd.
2018-11-02 18:02:27 -07:00
Jason Volk
ad003a0d66
ircd: Ⓜ️ :dbs: Add conf items for bloom filters.
2018-11-02 18:01:03 -07:00
Jason Volk
f2a08426c5
ircd: Ⓜ️ :dbs: Add conf item for meta block size of all direct event columns.
2018-11-02 09:01:23 -07:00
Jason Volk
49bad9f01d
ircd::db: Check for posix_fadvise(); implement InvalidateCache for environment if not direct IO.
2018-11-02 01:30:15 -07:00
Jason Volk
1d03747da3
ircd::db: Toward O_DIRECT writes from writable_file environment.
2018-11-02 01:11:36 -07:00
Jason Volk
95d42686f3
ircd::db: Add reflection for WriteLifeTimeHint.
2018-11-02 01:07:09 -07:00
Jason Volk
7b798645a4
ircd::db: Downgrade error severity to allow administrative resume.
2018-11-02 00:05:21 -07:00
Jason Volk
94bfe39ec6
ircd::fs: Save the std openmode in the fd::opts struct.
2018-11-01 23:35:52 -07:00
Jason Volk
916a5b26ea
ircd: Additional ircd::terminate() output and flushing.
2018-11-01 22:25:10 -07:00
Jason Volk
8db063bfc4
ircd::fs: Remove internal alignment paddings.
2018-11-01 22:23:04 -07:00
Jason Volk
13e6e02901
ircd::fs: Improve request priority value related; get sysconf info.
2018-11-01 20:19:55 -07:00
Jason Volk
3385d25c97
ircd::info: Improve various version information gathering.
2018-11-01 20:14:00 -07:00
Jason Volk
6b6106499f
ircd::fs: Add write_options.alignment; padding out to alignment for aio write.
2018-10-31 17:00:17 -07:00
Jason Volk
88be871149
ircd::aio: Switch to PREADV/PWRITEV iovector operations.
2018-10-31 16:29:20 -07:00
Jason Volk
5dcc7cd93b
ircd::db: Add error report state w/ interface w/ console cmd.
2018-10-31 15:53:43 -07:00
Jason Volk
0f7e17a519
ircd::db: Add resume from error interface w/ console cmd.
2018-10-31 15:03:32 -07:00
Jason Volk
5da7f20a9a
ircd::db: Add and use reflection for Status::Severity.
2018-10-31 14:48:14 -07:00
Jason Volk
ac01ae0936
ircd::db: Move reflections for WriteStall- and BackgroundError- related.
2018-10-31 14:40:00 -07:00
Jason Volk
ee670af436
ircd::db: Fix WriteStallInfo reflection and log message.
2018-10-31 14:22:31 -07:00
Jason Volk
34e330d77b
ircd::db: Simplify buffer alignment callback related; fix log message.
2018-10-31 14:09:10 -07:00
Jason Volk
f46886e0b8
ircd::db: Support future CanKeysWithDifferentByteContentsBeEqual feature.
2018-10-31 11:25:07 -07:00
Jason Volk
941b4ff8eb
ircd::db: Support passthru stub for comparator feature.
2018-10-31 11:23:55 -07:00
Jason Volk
895c52694e
ircd::db: Deinline database::comparator ctor.
2018-10-31 11:23:30 -07:00
Jason Volk
fec935463b
Merge branch 'libressl' of https://github.com/DanySpin97/charybdis
2018-10-30 13:58:18 -07:00
Jason Volk
22d06a4670
Merge branch 'libressl-2' of https://github.com/DanySpin97/charybdis
2018-10-30 13:38:14 -07:00
Jason Volk
a91cdeec0c
ircd::ctx: Reorg / abstract / deinline promise related.
2018-10-30 12:18:16 -07:00
Danilo Spinella
4e1be6d1fd
Drop const modifier for libressl
2018-10-29 15:37:51 +00:00
Danilo Spinella
0258ea7999
Add ASN1_TIME_seconds method for LibreSSL
...
Credits to https://github.com/Castaglia .
a3d65e8683
2018-10-29 15:28:18 +00:00
Jason Volk
0ea1ba2968
ircd: Ⓜ️ :room::power: Simplify level_event / level_state interface related.
2018-10-27 14:27:53 -07:00
Jason Volk
01ec851b4d
ircd: Ⓜ️ :dbs: Improve some column description strings.
2018-10-27 13:44:40 -07:00
Jason Volk
3447a1cc45
ircd: Ⓜ️ :room::power: Support power for state events in the interface.
2018-10-25 18:19:54 -07:00
Jason Volk
39eb015565
ircd: Ⓜ️ :room: Add join_rule query convenience suite.
2018-10-25 18:19:53 -07:00
Jason Volk
61016b479b
ircd: Ⓜ️ :room::power: Support defaulting level for the room creator.
2018-10-25 18:09:31 -07:00
Jason Volk
8733e16ca4
ircd: Ⓜ️ Add convenience suite to get or check the room creator's user id.
2018-10-25 18:09:31 -07:00
Jason Volk
e209d1661b
ircd: Ⓜ️ :room::state: Improve the present() state query.
2018-10-25 18:09:31 -07:00
Jason Volk
7d489a40e7
ircd: Ⓜ️ 🪝 Adjust hook matching to condition event.membership and event.content.membership.
2018-10-25 18:09:31 -07:00
Jason Volk
13f38782f5
ircd::util: Deinline various utils; minor cleanup.
2018-10-25 13:39:41 -07:00
Jason Volk
d19edbda98
ircd::mods: Improve MAPI header layout; various cleanup.
2018-10-25 13:03:07 -07:00
Jason Volk
30d938530a
ircd::client: Tweak log message format.
2018-10-24 19:06:35 -07:00
Jason Volk
d65c22fd9f
ircd: Use resource log facility for HTTP status related; add path to log msg.
2018-10-24 18:24:51 -07:00
Jason Volk
133cb4825c
ircd: Ⓜ️ :rooms: Add central linkage to send a summary to !public.
2018-10-24 18:08:46 -07:00
Jason Volk
72bfd645da
ircd: Ⓜ️ :rooms: Retype and rekey the state in !public organized by server.
2018-10-24 17:31:22 -07:00
Jason Volk
3a36bbfca5
ircd::server: Fix dangling-type exception_ptr in peer::err by clearing peers here.
...
This will destruct the exception first before the module which introduced the
exception's type unloads. On daemon shutdown, the module will unload and if
an instance of the exception is still held by peer::err bad things happen.
2018-10-24 17:31:22 -07:00
Jason Volk
e85917abb1
ircd: Ⓜ️ :rooms: Add public rooms count for total_room_count_estimate; cleanup.
2018-10-24 17:31:21 -07:00
Jason Volk
f7c7850465
ircd: Ⓜ️ :rooms: Add and use interface for publicrooms iteration.
2018-10-24 17:31:21 -07:00
Jason Volk
0291a0d83e
ircd: Ⓜ️ :rooms: Move iteration base to module; fix interface return types.
2018-10-24 17:31:21 -07:00
Jason Volk
62177dca20
modules: Start an m_rooms unit; move publicrooms summary chunk generation.
2018-10-24 17:31:21 -07:00
Jason Volk
6f2c9631a1
ircd::resource: Add snomask'ed log facility.
2018-10-24 12:44:13 -07:00
Jason Volk
dacbbbb051
ircd::client: Add snomask'ed log facility.
2018-10-24 12:44:00 -07:00
Jason Volk
59adeb839c
ircd::mods: Minor reorg: move internal section to top; cleanup terminate handler.
2018-10-24 12:16:08 -07:00
Jason Volk
b5b52d5ee3
ircd: Ⓜ️ :room: Reduce state iteration stack codepaths.
2018-10-23 18:11:56 -07:00
Jason Volk
da322fc048
ircd: Ⓜ️ Conditional reuse of state key format stack paths.
2018-10-23 18:04:21 -07:00
Jason Volk
0f1d5bac76
ircd: Ⓜ️ :room::members: Fix closure return value in iteration.
2018-10-23 14:45:22 -07:00
Jason Volk
c9426a3616
ircd: Ⓜ️ :room: Conditional reuse of keys for_each path.
2018-10-23 14:45:16 -07:00
Jason Volk
16ac997220
ircd: Ⓜ️ :users: Add lower_bounding for_each; prefix search to users console cmd.
2018-10-23 14:17:42 -07:00
Jason Volk
ba70c1b128
ircd: Ⓜ️ :room: Add lower_bound state_key only iteration to interface.
2018-10-23 14:16:36 -07:00
Jason Volk
537b7e26aa
ircd: Ⓜ️ :state: Add unmake_key() inverse convenience to make_key().
2018-10-23 13:48:23 -07:00
Jason Volk
33aea3fd19
ircd: Ⓜ️ Start a users coarse convenience interface.
2018-10-23 13:32:00 -07:00
Jason Volk
002dea97ec
modules/client/user: Move user create to m_user.
2018-10-23 13:22:08 -07:00
Jason Volk
bfa76efbc1
ircd::mods: Reorg primary interface / addl utils.
2018-10-23 11:15:21 -07:00
Jason Volk
15b300657f
ircd::mods: Add unloading state; add public interface for loading()/unloading() query.
2018-10-23 11:03:57 -07:00
Jason Volk
5fa42b5afd
ircd::mods: Use forward_list for mod::loading state.
2018-10-23 10:54:56 -07:00
Jason Volk
e6dd4beaaa
ircd::ctx: Harder default interruption on context dtor.
2018-10-23 10:16:15 -07:00
Jason Volk
242516c853
ircd: Ⓜ️ Add central interface for room state prefetch; add console cmd; apply to client sync.
2018-10-23 10:01:36 -07:00
Jason Volk
c83d17396b
modules: Rename vm_fetch to s_fetch.
2018-10-23 09:13:48 -07:00
Jason Volk
94fe5090f5
ircd::db: Strict block size deviation; relax read amplification bitmap
2018-10-22 13:53:02 -07:00
Jason Volk
8be65012ec
ircd::db: Refactor column indexing and state to handle dropped columns.
2018-10-22 07:09:55 -07:00
Jason Volk
183be76a3a
ircd::db: Use reference to descriptor in database::column object.
2018-10-22 07:09:16 -07:00
Jason Volk
5544da61b8
ircd::db: Move column alignment check outside of DB::Open ctor closure.
2018-10-22 04:34:05 -07:00
Jason Volk
d3e61abe7d
ircd::db: Implement interface for column dropping.
2018-10-22 04:34:05 -07:00
Jason Volk
87feb65615
ircd::db: Integrate more detailed rocksdb::TableProperties into db::sst::info.
2018-10-21 09:26:02 -07:00
Jason Volk
b1bbbfe50b
ircd::db: Convert sst::info ctors to assignment operators.
2018-10-21 09:15:30 -07:00
Jason Volk
100325b5a8
ircd::server: deinline peer::err ctor.
2018-10-21 05:35:02 -07:00
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
3ffb91d0fd
ircd::ctx: Deinline to_asio continuation ctor.
2018-10-21 01:09:07 -07:00
Jason Volk
045a944911
ircd: Move a2u / pretty() suites from lex_cast to util::; start util.cc unit.
2018-10-21 01:00:41 -07:00
Jason Volk
337810d7e0
ircd: Ⓜ️ :dbs: Add meta block size confs for select direct columns; tweak block sizes.
2018-10-21 00:20:02 -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
c31b29307b
ircd: Ⓜ️ :state: Fix fallback path for empty type in count().
2018-10-18 17:32:18 -07:00
Jason Volk
a63cfa86a2
ircd: Ⓜ️ :room::state: Simplify count() stack.
2018-10-18 17:32:18 -07:00
Jason Volk
6713aa54eb
ircd: Ⓜ️ :room::state: Fix empty type argument fallback path.
2018-10-18 17:32:18 -07:00
Jason Volk
0787246e23
ircd::log: Make buffer tls.
2018-10-18 17:32:18 -07:00
Jason Volk
0d6b49a0b6
ircd: Add pretty() human readable time utils.
2018-10-18 17:31:43 -07:00
Jason Volk
e540ad1412
ircd::fs: Better results for read buffer alignments.
2018-10-18 09:44:34 -07:00
Jason Volk
4c95b39ce5
configure: Add missing sys/stat.h sys/statvfs.h header checks.
2018-10-18 09:28:01 -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
8ce716b384
ircd: Ⓜ️ :dbs: Tweak metablock default sizes.
2018-10-17 10:07:58 -07:00
Jason Volk
02f64c7f34
ircd: Add ios unit to provide a more central control point for asio.
2018-10-17 05:12:10 -07:00
Jason Volk
9833b50551
ircd: Ⓜ️ :dbs: Add metadata block size conf items for various meta columns.
2018-10-16 15:53:47 -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
fbad6072df
ircd: Ⓜ️ :dbs: Relax the bloom filter bitcounts; add some bloom on _state_node.
2018-10-16 09:13:53 -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
ca11351692
ircd: Add assertion() overload taking message string.
2018-10-15 22:31:28 -07:00
Jason Volk
37b55e4b11
ircd::db: Options package for table metadata.
2018-10-14 08:53:46 -07:00
Jason Volk
d4d121f6c3
ircd::http: Minor definition section labels.
2018-10-14 02:40:22 -07:00
Jason Volk
9aa6e2b768
ircd: Ⓜ️ Rename most vm.notify hooks to vm.effect; Refactor vm::accept related.
2018-10-09 20:56:12 -07:00
Jason Volk
f68926e526
ircd: Ⓜ️ 🪝 Minor fixes for hook unmapper.
2018-10-09 20:48:07 -07:00
Jason Volk
0e5f8141c3
ircd::net: Add more tls cert verification exceptions w/ conf.
2018-10-04 15:16:15 -07:00
Jason Volk
0df3eafea2
modules/s_dns: Simplify/breakdown callback stack related.
2018-10-03 14:33:53 -07:00
Jason Volk
58c7a4885b
ircd::server: Remove redundant strings; minor cleanup.
2018-10-02 22:37:07 -07:00
Jason Volk
67a759ac21
ircd::rfc3986: Add validation suite for hostname strings related.
2018-10-02 18:11:50 -07:00
Jason Volk
1cf0b629cb
ircd::spirit: Add a template for the common expectation failure rethrow integration.
2018-10-02 18:11:50 -07:00
Jason Volk
a893c1e0a7
ircd::rfc3986: Rename some rules in the grammar.
2018-10-02 18:11:50 -07:00
Jason Volk
b9aa697206
ircd::resource: Make Access-Control-Allow-Origin response header a conf item.
2018-10-02 15:58:03 -07:00
Jason Volk
450ec3523e
modules/s_dns: Consolidate DNS related into units of a single module.
2018-10-01 13:56:00 -07:00
Jason Volk
0e6221b8dc
ircd::net::dns: Move closure chains out to modules/s_dns; minor reorg.
2018-10-01 12:47:49 -07:00
Jason Volk
5b7cf5a8eb
ircd::net::dns: Reorg namespace structure related.
2018-10-01 12:03:31 -07:00
Jason Volk
cbf96969db
ircd::http: Support 524 "A Timeout Occurred"
2018-10-01 11:30:34 -07:00
Jason Volk
05cc6ddf83
ircd::net: Move resolver service out to modules/s_resolver.
2018-09-30 20:18:32 -07:00
Jason Volk
b43b094f2c
ircd::rfc1035: Add reverse qtype mapping.
2018-09-30 20:18:32 -07:00
Jason Volk
5a627efaad
ircd::net::dns: Move cache related out to modules/s_dns.
2018-09-30 20:18:32 -07:00
Jason Volk
da8beda0c3
ircd: Ⓜ️ 🆔 Support intuitive constructions of m::node::id.
2018-09-30 17:58:16 -07:00
Jason Volk
4f3f729d9b
ircd: Ⓜ️ 🆔 Minor cleanup.
2018-09-30 17:37:24 -07:00
Jason Volk
0813adca32
ircd::client: Use socket ID rather than address for loghead.
2018-09-29 19:56:40 -07:00
Jason Volk
ccaaf22cac
ircd::net::dns: Use conf item for resolver servers.
2018-09-29 19:56:22 -07:00
Jason Volk
33a8430661
ircd::net: Reduce string allocations from various log compositions.
2018-09-29 17:40:45 -07:00
Jason Volk
d1c28abf7e
ircd::net: Minor cleanup various log calls.
2018-09-29 17:28:11 -07:00
Jason Volk
cb6f0032a4
ircd::net: Expose interface to get socket counter as an ID.
2018-09-29 17:15:45 -07:00
Jason Volk
8d7bf8dc88
ircd::client: Simplify/dedup error handling switch.
2018-09-29 17:09:07 -07:00
Jason Volk
0c25852109
ircd::client: Simplify instance_multimap related; keep state for local/remote addrs in client.
2018-09-29 16:52:54 -07:00
Jason Volk
5f37100236
ircd::net: Add some specific comparators for ipport.
2018-09-29 16:46:02 -07:00
Jason Volk
b4e4f0165f
ircd::net: Deinline some ipport ctors.
2018-09-29 16:39:14 -07:00
Jason Volk
cedfff720a
ircd: Ⓜ️ Fix return value for index(event_id).
2018-09-27 17:10:54 -07:00
Jason Volk
4b142de177
ircd: Ⓜ️ Fix prototype for pretty prev.
2018-09-27 17:10:22 -07:00
Jason Volk
771ecaef7e
ircd::client: Simplify log calls with single loghead() string.
2018-09-27 17:05:19 -07:00
Jason Volk
b93b4e31f6
ircd::client: Move dock into client namespace.
2018-09-27 16:36:50 -07:00
Jason Volk
f023d05e66
ircd::allocator: Pretty IEC units for memory info.
2018-09-27 01:53:03 -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