From dc3e818e84e441d53a2dd34f13832b0307880632 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Mon, 13 Nov 2023 17:44:24 +0700 Subject: [PATCH] chore: add changelog entry Co-Authored-By: Zaiming (Stone) Shi --- changes/ce/feat-11935.en.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/ce/feat-11935.en.md diff --git a/changes/ce/feat-11935.en.md b/changes/ce/feat-11935.en.md new file mode 100644 index 000000000..3cc3a45d5 --- /dev/null +++ b/changes/ce/feat-11935.en.md @@ -0,0 +1,5 @@ +Switch to the new `v2` routing store schema by default. New schema improves both subscription and routing performance, especially so for scenarios with concurrent subscriptions to topic filters sharing common wildcard prefixes, at the cost of slightly increased memory usage. This schema also eliminates the need for a separate index, thus inconsistencies in the routing state rarely encountered in previous versions should no longer be possible. + +If a cluster is rolling upgraded from older version, the cluster will continue to use `v1` store until a full cluster (non-rolling) restart happens. + +The former schema can still be forced by setting `broker.routing.storage_schema` configuration option to `v1` and conducting full non-rolling cluster restart as well.