Pavel Emelyanov
2d8540f1ee
transport: fix process_startup cert-auth path missing connection-ready setup
...
When authenticate() returns a user directly (certificate-based auth,
introduced in 20e9619bb1 ), process_startup was missing the same
post-authentication bookkeeping that the no-auth and SASL paths perform:
- update_scheduling_group(): without it, the connection runs under the
default scheduling group instead of the one mapped to the user's
service level.
- _authenticating = false / _ready = true: without them,
system.clients reports connection_stage = AUTHENTICATING forever
instead of READY.
- on_connection_ready(): without it, the connection never releases its
slot in the uninitialized-connections concurrency semaphore (acquired
at connection creation), leaking one unit per cert-authenticated
connection for the lifetime of the connection.
The omission was introduced when on_connection_ready() was added to the
else and SASL branches in 474e84199c but the cert-auth branch was missed.
Fixes: 20e9619bb1 ("auth: support certificate-based authentication")
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-24 18:02:46 +03:00
..
2026-03-24 18:02:46 +03:00
2026-03-23 10:25:54 +02:00
2026-03-05 13:07:09 +02:00
2026-03-19 10:41:21 +01:00
2026-03-20 10:05:16 +02:00
2026-01-25 18:17:27 +02:00
2026-03-18 16:21:05 +02:00
2026-03-18 15:37:24 +01:00
2026-02-24 09:48:38 +01:00
2026-01-25 18:17:27 +02:00
2026-01-27 17:25:59 +02:00
2026-03-23 10:45:30 +02:00
2026-03-05 11:44:02 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2025-11-13 17:00:08 +01:00
2026-01-25 18:17:27 +02:00
2025-12-12 15:11:03 +02:00
2026-03-04 13:40:30 +01:00
2025-12-30 17:34:56 +01:00
2026-01-25 18:17:27 +02:00
2026-02-26 20:13:50 +02:00
2026-02-17 17:56:27 +01:00
2026-02-24 09:48:38 +01:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-03-20 09:02:57 +03:00
2026-01-25 18:17:27 +02:00
2026-02-18 15:14:55 +01:00
2026-03-11 09:54:57 +02:00
2026-03-20 10:55:35 +01:00
2026-03-16 17:07:36 +02:00
2026-01-28 10:54:22 +02:00
2026-01-25 18:17:27 +02:00
2026-03-09 19:41:07 +01:00
2026-03-04 08:00:17 +01:00
2026-02-10 17:05:02 +01:00
2026-03-12 22:45:01 +01:00
2026-03-06 09:25:29 +02:00
2026-03-02 10:26:57 +02:00
2026-02-02 09:56:32 +01:00
2026-02-18 15:14:55 +01:00
2026-03-18 19:24:28 +01:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-03-10 14:31:36 +02:00
2026-01-25 18:17:27 +02:00
2026-01-22 12:49:45 +01:00
2026-03-04 09:44:24 +02:00
2026-02-16 14:50:54 +02:00
2025-11-24 17:12:13 +01:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-08 21:53:47 +02:00
2026-03-10 14:17:57 +02:00
2026-03-06 14:50:12 +01:00
2026-02-02 09:56:32 +01:00
2026-03-16 16:58:15 +02:00
2026-01-25 18:17:27 +02:00
2026-02-02 09:56:32 +01:00
2026-03-10 14:31:36 +02:00
2026-03-12 17:07:45 +01:00
2026-03-05 11:44:02 +02:00
2026-03-19 18:42:57 +03:00
2026-03-19 12:42:18 +03:00
2026-01-25 18:17:27 +02:00
2025-12-03 15:35:59 +01:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-02-12 11:16:34 +02:00
2026-03-13 14:30:32 +03:00
2026-01-25 18:17:27 +02:00
2026-02-24 09:48:38 +01:00
2026-02-24 12:08:44 +01:00
2025-10-29 20:13:08 +02:00
2026-03-20 09:05:14 +03:00
2026-01-25 18:17:27 +02:00
2026-01-15 10:25:45 +01:00
2026-03-12 19:43:35 +01:00
2026-02-18 15:14:57 +01:00
2026-02-02 09:56:32 +01:00
2026-03-15 12:00:10 +02:00
2026-01-25 18:17:27 +02:00
2026-03-19 11:12:21 +02:00
2026-03-05 12:54:26 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-03-12 22:45:01 +01:00
2026-03-12 22:45:01 +01:00
2026-03-12 15:26:40 +02:00
2026-02-18 01:02:50 +01:00
2026-01-13 00:38:00 +01:00
2026-03-03 11:19:24 +03:00
2026-03-04 09:45:38 +02:00
2026-02-27 16:06:22 +02:00
2026-01-25 18:17:27 +02:00
2026-01-13 00:38:00 +01:00
2026-03-09 19:41:07 +01:00
2026-01-13 00:38:00 +01:00
2026-01-25 18:17:27 +02:00
2026-02-24 09:48:38 +01:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-02-25 14:59:44 +02:00
2026-01-25 18:17:27 +02:00
2026-02-24 17:28:51 +01:00
2025-12-05 09:26:26 +02:00
2026-03-10 10:46:48 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-25 18:17:27 +02:00
2026-01-21 15:17:42 +01:00
2026-02-02 09:56:32 +01:00
2026-03-11 10:24:20 +02:00