Commit Graph

606 Commits

Author SHA1 Message Date
Noa 0118f4f4f9 Allow databases from 1.0.1 to be run on 1.0.0 2025-03-14 14:21:25 -05:00
Jeffrey Dallatezza cb80a8edfd Allow a single string to be passed as the audience (#2460) 2025-03-13 16:34:59 +00:00
Mazdak Farrokhzad 2ae19838d3 Fix subs when clients use variying compression (#2434) 2025-03-12 14:39:08 +00:00
joshua-spacetime 25abdd5857 fix: bag semantics for joins (#2398) 2025-03-11 18:33:07 +00:00
joshua-spacetime 66b10dde8f Update bytes_sent_to_clients when merging metrics (#2352) 2025-03-05 20:26:57 +00:00
joshua-spacetime 8f07c64944 test: set semantics in datastore (#2324) 2025-02-28 16:53:00 +00:00
Tyler Cloutier d147dff5b1 Added in a SQL execution time calculation (#2297) 2025-02-25 21:44:21 +00:00
Jeffrey Dallatezza a73a689778 Clear DB size gauges when shutting a module down (#2259) 2025-02-25 16:32:30 +00:00
Mazdak Farrokhzad 92c8e95a19 MutTxId::update: consider deleted commited row when replacing tx row (#2302)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-02-24 17:08:00 +00:00
joshua-spacetime 97de45003a fix: join order rewrite rule (#2295) 2025-02-21 23:29:38 +00:00
Jeffrey Dallatezza 0f03e34f43 Add multi-query version of subscribe messages, and dedup queries on the backend. (#2278) 2025-02-21 18:36:00 +00:00
joshua-spacetime aeaa7a423d Add support for COUNT (#2285) 2025-02-20 16:37:33 +00:00
joshua-spacetime 6abfe8ddba Add support for LIMIT (#2279) 2025-02-19 20:18:44 +00:00
Jeffrey Dallatezza bf82614d9c Send delete updates for unsubscribes (#2271) 2025-02-18 17:46:16 +00:00
Jeffrey Dallatezza 6727e05040 Remove some Identity conversions that could panic (#1966) 2025-02-11 06:19:07 +00:00
Noa cf6822541f Remove janky schema from http API (#2181) 2025-02-11 00:56:07 +00:00
Jeffrey Dallatezza c2d40f86fb Add metrics for index inserts and deletes (#2236) 2025-02-10 21:34:02 +00:00
Phoebe Goldman aedc601145 Rename Address to ConnectionId (#2220)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-02-10 00:40:16 +00:00
joshua-spacetime f0361525bd Error handling for incremental evaluation (#2223) 2025-02-07 23:31:27 +00:00
Phoebe Goldman 91327d585e Make Timestamp a special SATS type (#1836)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-02-07 18:17:53 +00:00
Jeffrey Dallatezza e10273f16d Add metrics for fuel usage and reducer runtime totals. (#2217) 2025-02-07 16:51:24 +00:00
Mazdak Farrokhzad b50b6841f1 Add direct indices to datastore (#2221) 2025-02-07 01:06:38 +00:00
joshua-spacetime 75ab91d36d Handle optimization and execution errors on initial subscription (#2213) 2025-02-06 19:14:44 +00:00
Jeffrey Dallatezza e171a01cd8 Register data size metrics for standalone. (#2216) 2025-02-06 18:41:16 +00:00
Mazdak Farrokhzad 1a3f3af255 add direct indices, except for in datastore & C# (#2205) 2025-02-06 00:40:46 +00:00
Mazdak Farrokhzad 25d74091c3 Make MutTxId::update really idempotent wrt. TxData (#2212) 2025-02-05 20:40:02 +00:00
joshua-spacetime e4e36ec478 Return errors for invariant violations during query planning (#2209) 2025-02-04 21:58:14 +00:00
Mazdak Farrokhzad 2fc0361d68 Match datastore semantics more closely: btree_scan => index_scan_range (#2203) 2025-02-04 00:34:33 +00:00
Phoebe Goldman ad49494e85 prop_assume!(a != b) in some tests to fix spurious failures (#2199) 2025-02-03 15:33:03 +00:00
Phoebe Goldman d839657008 Data size SKU for billing (#2098) 2025-02-03 14:15:30 +00:00
Mazdak Farrokhzad 7937784a8d InstanceEnv: make the inspect_err closures cold (#2197) 2025-01-31 18:40:14 +00:00
joshua-spacetime 6aa75bd0eb Track compute metrics for sql dml with new engine (#2190) 2025-01-31 17:59:33 +00:00
Mazdak Farrokhzad 6f20597600 Make check_and_insert & find_old_row and friends do less checks (#2192) 2025-01-31 15:00:19 +00:00
Noa 986354e2f2 Log errmsg if reducer fails (#2186) 2025-01-29 23:39:53 +00:00
joshua-spacetime 4b4484a3aa Track query and datastore cpu usage metrics (#2140) 2025-01-29 21:30:41 +00:00
Noa 696fa45847 Meter wasm memory usage (#2187) 2025-01-29 18:03:47 +00:00
Mazdak Farrokhzad 6630a90ee1 Switch DeleteTable impl to one based on FixedBitSet (#2183) 2025-01-29 17:15:17 +00:00
Noa 293aebaef9 Bump to Rust 1.84 (#2001) 2025-01-28 23:11:29 +00:00
Mazdak Farrokhzad 5b5a0a6515 Cache whether a Table is a scheduler table, avoiding fetching the schema (#2141) 2025-01-28 19:57:15 +00:00
Mazdak Farrokhzad afdc0d67dd Add the update ABI (#2137)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-27 19:38:18 +00:00
Jeffrey Dallatezza 729dbb1495 Remove the client from subscription manager on a disconnect (#2170) 2025-01-24 22:04:15 +00:00
Phoebe Goldman d171b44a89 Don't create indexes during bootstrapping; wait until after replay (#2161) 2025-01-23 19:41:39 +00:00
Jeffrey Dallatezza b85c3b5ab6 Fix sending of subscription errors. (#2166) 2025-01-23 19:33:27 +00:00
Kim Altintop 73fe4ef2f7 Set tracing static level for binaries only (#2144) 2025-01-22 20:13:52 +00:00
Mazdak Farrokhzad a1573af5a1 Fix unique index + MutTxId::insert not un-deleteting (#2156) 2025-01-22 09:51:34 +00:00
Noa 7c6af12b84 Use actual types for api responses, not ad-hoc json!() objects (#1931) 2025-01-21 03:13:22 +00:00
Kim Altintop 43d870d24c core: Make SNAPSHOT_FREQUENCY pub (#2135) 2025-01-20 07:27:36 +00:00
Noa cf6ac18eaf Lookup lifecycle reducers by lifecycle flag, not by name (#2132) 2025-01-17 23:21:52 +00:00
Mazdak Farrokhzad 6f428f3afb Make the key of Table.indexes be IndexId (#2124) 2025-01-17 18:42:54 +00:00
Noa c24042609e Split binaries (#2011) 2025-01-15 18:45:14 +00:00