Commit Graph

1631 Commits

Author SHA1 Message Date
Mazdak Farrokhzad ebf0345e8a alter_table_row_type: set ColumnSchema::table_id's 2025-06-25 21:34:25 +02:00
Mazdak Farrokhzad 1e7791df0f split change_columns_to into safe and unsafe version 2025-06-25 21:33:44 +02:00
Mazdak Farrokhzad c3e55c0cf9 auto_migration smoketest: append to the right code 2025-06-25 20:44:32 +02:00
Mazdak Farrokhzad 4681e8a5b8 cargo fmt 2025-06-25 20:22:57 +02:00
Mazdak Farrokhzad afac31068e amend auto_migration smoketest to test changing a sum type 2025-06-25 20:15:24 +02:00
Mazdak Farrokhzad 96d3f9f957 cargo insta review of spacetimedb-codegen 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad f6413d8a75 extend successful_auto_migration, testing for altering row type 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 5f3cd46c7b add spacetimedb_data_structures as dep of spacetimedb_bindings 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 4fdcd9c6c8 alter_table_row_type: fix typo 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad c1c39f114e cargo fmt 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad c5058e652b datastore: add alter_row_type tests 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 33579c67b0 cargo fmt 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad e23afdf7be implement row type alteration in datastore 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 797efb6aeb auto_migrate: check layout size & alig for SumType changes 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 82fbb71fa1 move PrimitiveType to layout 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 559da2edb5 move layout to sats 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 0afe1435d9 break layout's dependency on VarLenRef 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 2318994d4f move MemoryUsage to sats 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 8123796888 move Size to layout 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad 7042601449 move required_var_len_granules_for_row & bsatn_len to use site 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad a5ae5d174f auto_migrate: allow old_sum == prefix(new_sum) 2025-06-25 16:48:34 +02:00
Mazdak Farrokhzad c3afc171e7 Remove unnecessary .clone() in pipelined.rs (#2897) 2025-06-25 14:20:44 +00:00
Zeke Foppa 67703b1fee Bump C# versions to 1.2.1 (#2890)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-06-23 17:34:38 +00:00
Mazdak Farrokhzad bc4fea2070 TypedIndex: add special cases for F{32,64} (#2885) 2025-06-22 16:37:53 +00:00
james gilles 971ae75b5d Improve serialization speed of enums without data in C# (#2762) 2025-06-20 17:38:29 +00:00
joshua-spacetime 2f1d99ce1c Log when a websocket connection has ended (#2883) 2025-06-20 17:09:43 +00:00
joshua-spacetime 9608f498f1 Speed up metadata update on unsubscribe (#2880) 2025-06-20 16:05:23 +00:00
Jeffrey Dallatezza 8d25009853 Fix two places we grab blocking locks on tokio runtime worker threads (#2881) 2025-06-20 15:22:04 +00:00
joshua-spacetime 718712a8f7 Record the size of a client's outgoing message queue on drop (#2877) 2025-06-18 17:28:55 +00:00
joshua-spacetime b63df7872a Track metadata updates for unsubscribes (#2876) 2025-06-18 15:48:57 +00:00
joshua-spacetime 4f493e4d2f Relax conditions for query pruning (#2873) 2025-06-16 19:03:58 +00:00
Mazdak Farrokhzad 1318e7e1f5 messages::serialize: take/put buffers from/into a SerializeBufferPool (#2823)
Co-authored-by: Noa <coolreader18@gmail.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-06-16 16:44:57 +00:00
joshua-spacetime 27af02ce73 Use database identity not owner identity for metrics (#2868) 2025-06-16 15:56:23 +00:00
Phoebe Goldman da0757b5bd Remove incorrect const qualifiers on two imports in bindings.c (#2862) 2025-06-16 15:46:13 +00:00
Phoebe Goldman 9f03b2c641 Fix an outdated docstring on identity and try_identity in the Rust SDK (#2871) 2025-06-16 15:34:37 +00: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