Skip to content

Commit

Permalink
system_keyspace: switch CDC_LOCAL to schema commitlog
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gusev committed Sep 13, 2023
1 parent a683ceb commit 082cd3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions db/system_keyspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ namespace {
system_keyspace::TABLETS,
system_keyspace::LOCAL,
system_keyspace::PEERS,
system_keyspace::SCYLLA_LOCAL
system_keyspace::SCYLLA_LOCAL,
system_keyspace::v3::CDC_LOCAL
};
if (ks_name == system_keyspace::NAME && tables.contains(cf_name)) {
props.enable_schema_commitlog();
Expand Down Expand Up @@ -1775,8 +1776,6 @@ future<> system_keyspace::update_cdc_generation_id(cdc::generation_id gen_id) {
sstring(v3::CDC_LOCAL), id.ts, id.id);
}
), gen_id);

co_await force_blocking_flush(v3::CDC_LOCAL);
}

future<std::optional<cdc::generation_id>> system_keyspace::get_cdc_generation_id() {
Expand Down

0 comments on commit 082cd3b

Please sign in to comment.