Commit Graph

1597 Commits

Author SHA1 Message Date
Phoebe Goldman db409c9807 Fix an outdated docstring on identity and try_identity in the Rust SDK
Since we changed from `with_credentials` to `with_token`,
the Rust client SDK no longer knows its `Identity` prior to `on_connect`,
even when the connection is not anonymous.
2025-06-16 09:57:26 -04:00
joshua-spacetime c522c0f950 Prune more queries when evaluating subscription updates (#2855)
Signed-off-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Mario Montoya <mamcx@elmalabarista.com>
2025-06-14 00:45:20 +00:00
joshua-spacetime 70df4fb034 Test subscription updates for dml (#2716) 2025-06-13 23:37:45 +00:00
Jeffrey Dallatezza 228c761c7c Use a scope guard for decrementing queue length. (#2865) 2025-06-13 21:00:04 +00:00
Phoebe Goldman 1e3e8db9bc Database-specific Timestamp route (#2864) 2025-06-13 20:23:30 +00:00
joshua-spacetime 193c0d4889 Add more subscription metrics (#2861) 2025-06-13 19:26:17 +00:00
Phoebe Goldman 2d756dbc93 Wrap try_init_host futures in tokio::spawn so they don't get cancelled (#2857) 2025-06-13 16:26:41 +00:00
joshua-spacetime f4f698efa1 Always use identity when hashing queries from owners (#2859) 2025-06-12 20:34:19 +00:00
Tyler Cloutier 013e268eb5 Fixed rename by using put instead of post (#2764)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
2025-06-12 17:05:02 +00:00
Jeffrey Dallatezza 12abd48a54 Send one-off responses through the broadcast queue. (#2853) 2025-06-11 18:34:04 +00:00
Noa 053fc6d97c Tidy up ModuleKind conversions a tiny bit (#2840) 2025-06-11 13:16:09 +00:00
Kim Altintop 4974676ce8 client-api: Don't debug-print dropped outgoing Ws messages at info (#2819) 2025-06-11 09:23:41 +00:00
joshua-spacetime a19bd458c4 Reserve cores 0 and 1 for the OS (#2851) 2025-06-10 17:46:52 +00:00
Phoebe Goldman 0866fd39d5 Add an HTTP route to get the current Timestamp (#2850) 2025-06-09 17:26:25 +00:00
Phoebe Goldman c99dc82a48 Remove the lock around the ClientsMap in the SubscriptionManager (#2821)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
2025-06-06 20:52:08 +00:00
Noa 967e82a5f8 Pin db threads to cores (#2801)
Signed-off-by: Noa <coolreader18@gmail.com>
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-06-06 18:37:35 +00:00
Zeke Foppa 380acf14c8 Bump versions to 1.2.0 (#2837)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-06-06 16:17:24 +00:00
John Detter e9a9de7f84 Fix typo in the log config toml file (#2799) 2025-06-05 16:48:05 +00:00
Mazdak Farrokhzad ad39b7b8a8 spacetimedb_execution: avoid get_row_ref (#2806) 2025-06-04 17:44:35 +00:00
Zeke Foppa c3b0009758 Bump versions to 1.1.3 (#2828)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-06-04 17:39:15 +00:00
Zeke Foppa fae2c7ece3 CI - Remove outdated Contributor Membership Check (#2827)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-06-04 16:57:21 +00:00
Viktor Szépe f6da9e1f5f Fix typos (#2812)
Signed-off-by: Viktor Szépe <viktor@szepe.net>
2025-06-04 16:33:32 +00:00
Noa b07f22ec00 Log every second a reducer takes to run (#2738) 2025-06-03 17:24:25 +00:00
Kim Altintop 1c65d7bc22 smoketests: Bring containers back up in tear down of replication tests (#2818) 2025-06-02 08:19:22 +00:00
Kim Altintop a6bc0e59fd commitlog: Reduce log noise when offset index cannot be used (#2791) 2025-06-02 07:27:12 +00:00
Kim Altintop c98219529d commitlog: Fix index truncation test. (#2792) 2025-05-30 15:13:06 +00:00
Kim Altintop f7d35e5b9f core: Make asyncify preserve the current span (#2790) 2025-05-30 15:12:54 +00:00
joshua-spacetime 8a16a12304 Build indexes over TxData for subscription eval (#2768) 2025-05-28 20:53:14 +00:00
Phoebe Goldman 1e50c7d8ad Aggregate and broadcast DbUpdates off the main thread (#2793)
Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
2025-05-28 17:10:48 +00:00
Phoebe Goldman ac187906ad Per-database incoming and outgoing queue length metrics (#2773) 2025-05-28 16:17:48 +00:00
Mazdak Farrokhzad f3c899e998 Consider deleted committed rows in MutTxId::create_index (#2805)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-05-28 16:10:00 +00:00
Mazdak Farrokhzad 800af9b8f5 Page::reset_for: stop zeroing pages (#2804)
Bypassed rules because of a cla automation issue. All checks passed otherwise.
2025-05-28 10:22:17 -04:00
Tyler Cloutier 71f48ff561 Datastore Extraction: Create DatastoreError type (#2798)
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-05-28 03:09:03 +00:00
Tyler Cloutier afc9e5b73b Datastore Extraction: StVarName refactor, small non-functional change in furtherance of datastore extraction (#2795)
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-05-28 02:18:00 +00:00
Tyler Cloutier ca21404f83 Datastore Extraction: Remove reference to WORKER_METRICS inside db_metrics (#2797) 2025-05-28 01:51:02 +00:00
Tyler Cloutier 7375323d38 Datastore Extraction: TxMetrics refactor, small non-functional change to make datastore extraction easier (#2794) 2025-05-27 17:12:14 +00:00
joshua-spacetime e7b9c610a7 Run reducers on tokio blocking thread instead of rayon (#2785) 2025-05-24 04:32:30 +00:00
joshua-spacetime b86e41fcf6 Single-threaded subscription evaluation (#2682) 2025-05-23 16:43:43 +00:00
joshua-spacetime e727090f50 add instrumentation to remove_multi_subscription (#2781) 2025-05-23 15:12:50 +00:00
Mazdak Farrokhzad c3803ae278 Cheaper Table::clone_structure (#2776)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-05-23 13:40:35 +00:00
Mazdak Farrokhzad 1ce60237fa Don't yap about putting chunks into my pool (#2777) 2025-05-22 18:27:49 +00:00
Zeke Foppa ec26f526ed Bump C# versions (#2774)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
v1.1.2-csharp-release
2025-05-22 17:47:50 +00:00
Mazdak Farrokhzad f7f08dc85b commit_and_broadcast_event: read_tx.merge(update_metrics) (#2772)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
2025-05-22 15:17:09 +00:00
joshua-spacetime ade5858269 Re-enable page bool with default size of 128 pages (#2769) 2025-05-22 14:17:36 +00:00
Shubham Mishra f2a9657a72 Commitlog: handle empty offset index lookup (#2771) 2025-05-22 12:59:02 +00:00
Zeke Foppa 2308c989fc Bump version to 1.1.2 (#2767)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-05-22 04:55:49 +00:00
Tyler Cloutier c30cdea2af Fixed compile errors and warnings on Windows (#2646) 2025-05-21 22:32:29 +00:00
Phoebe Goldman 67b573a036 Make connection metrics keyed on database identity, not replica ID (#2765) 2025-05-21 21:53:59 +00:00
Carlos Cobo c39bb46301 Fix TypeScript imports codegen (#2747)
Signed-off-by: Carlos Cobo <699969+toqueteos@users.noreply.github.com>
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
2025-05-21 18:25:56 +00:00
Mazdak Farrokhzad 32c4ee8989 datastore: apply schema changes immediately to committed state. (#2685)
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
2025-05-21 16:27:21 +00:00