Piotr Dulikowski
85128c5b10
Merge 'cql3: always return created event in create keyspace statement' from Marcin Maliszkiewicz
...
cql3: always return created event in create ks/table/type/view statement
In case multiple clients issue concurrently CREATE KEYSPACE IF NOT EXISTS
and later USE KEYSPACE it can happen that schema in driver's session is
out of sync because it synces when it receives special message from
CREATE KEYSPACE response.
Similar situation occurs with other schema change statements.
In this patch we fix only create keyspace/table/type/view statements
by always sending created event. Behavior of any other schema altering
statements remains unchanged.
Fixes https://github.com/scylladb/scylladb/issues/16909
**backport: no, it's not a regression**
Closes scylladb/scylladb#18819
* github.com:scylladb/scylladb:
cql3: always return created event in create ks/table/type/view statement
cql3: auth: move auto-grant closer to resource creation code
cql3: extract create ks/table/type/view event code
2024-06-17 19:58:38 +02:00
..
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-20 12:56:20 +03:00
2024-06-04 15:43:04 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-06-17 17:33:55 +03:00
2024-06-11 18:01:06 +02:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-05-02 19:37:04 +03:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:57:36 +08:00
2024-02-02 22:12:57 +08:00
2024-06-14 13:47:10 +05:30
2024-06-14 13:43:07 +05:30
2024-05-16 13:30:03 +02:00
2024-05-20 12:56:20 +03:00
2024-06-17 17:33:55 +03:00
2024-05-26 12:32:43 +08:00
2024-03-18 13:37:44 +02:00
2024-05-26 12:32:43 +08:00
2024-05-26 12:32:43 +08:00
2024-01-11 08:37:56 +02:00
2024-05-20 12:56:20 +03:00
2024-05-20 12:56:20 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-10 14:56:38 +02:00
2024-02-06 13:22:16 +02:00
2024-06-07 10:36:40 +02:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:47 +02:00
2024-02-06 13:22:16 +02:00
2024-01-18 12:50:06 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 07:44:07 +03:00
2024-05-20 12:56:20 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-26 12:32:43 +08:00
2024-05-05 23:31:48 +03:00
2024-05-26 12:32:43 +08:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-05-02 19:27:56 +03:00
2024-05-20 12:56:20 +03:00
2024-04-19 22:56:16 +08:00
2024-06-06 13:26:34 +02:00
2024-01-11 08:37:56 +02:00
2024-06-11 11:07:00 +02:00
2024-05-26 12:32:43 +08:00
2024-05-05 23:31:48 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-04-25 16:03:01 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-06-12 19:17:27 +08:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:47 +02:00
2024-05-14 06:03:20 -04:00
2024-05-26 12:32:43 +08:00
2024-05-28 20:41:54 +03:00
2024-05-26 12:32:43 +08:00
2024-05-26 12:32:43 +08:00
2024-02-07 18:31:36 +01:00
2024-05-27 12:48:44 +02:00
2024-05-26 12:32:43 +08:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:47 +02:00
2024-05-16 00:28:47 +02:00
2024-01-11 14:33:47 +08:00
2024-04-19 22:56:16 +08:00
2024-05-26 12:32:43 +08:00
2024-03-11 11:37:48 +02:00
2024-05-20 12:56:20 +03:00
2024-05-16 00:28:47 +02:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-06-04 15:43:04 +02:00
2024-04-19 22:56:16 +08:00
2024-02-02 22:12:57 +08:00
2024-05-18 00:15:07 +03:00
2024-02-06 13:22:16 +02:00
2024-06-13 01:32:17 -04:00
2024-03-26 15:31:18 +02:00
2024-05-16 00:28:47 +02:00
2024-05-26 12:32:43 +08:00
2024-04-19 22:57:36 +08:00
2024-05-27 17:34:38 +03:00
2024-05-16 13:30:03 +02:00
2024-05-10 14:56:38 +02:00
2024-05-20 12:56:20 +03:00
2024-04-02 09:25:06 +03:00
2024-06-09 20:43:59 +03:00
2024-05-09 17:48:58 +05:30
2024-02-02 22:12:57 +08:00
2024-02-21 19:43:17 +02:00
2024-02-02 22:12:57 +08:00
2024-05-26 12:32:43 +08:00
2024-04-17 07:12:39 +03:00
2024-05-10 14:56:38 +02:00
2024-02-02 22:12:57 +08:00
2024-05-26 12:32:43 +08:00
2024-04-19 22:56:16 +08:00
2024-05-03 11:34:23 +03:00
2024-01-24 10:37:39 +01:00
2024-02-06 13:22:16 +02:00
2024-05-30 18:03:51 +03:00
2024-04-19 22:57:36 +08:00
2024-05-27 17:34:38 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-06-04 15:43:04 +02:00
2024-03-26 13:38:37 +08:00
2024-05-26 12:32:43 +08:00
2024-04-19 22:56:16 +08:00
2024-03-26 13:38:37 +08:00
2024-05-26 12:32:43 +08:00
2024-05-10 14:56:38 +02:00
2024-05-05 23:31:48 +03:00
2024-05-05 23:31:48 +03:00
2024-06-06 10:45:13 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-26 12:32:43 +08:00