Skip to content

Commit

Permalink
small compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrsmrn committed Feb 13, 2024
1 parent 92a4fad commit 031bd31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,8 @@ To start the scylla server proper, simply invoke as: scylla server (or just scyl

supervisor::notify("initializing query processor remote part");
// TODO: do this together with proxy.start_remote(...)
// TODO: Passing ss to qp fails, because ss has operator& overloaded, and it checks if ss is initialized already,
// but it is only below. OTOH ss requires initialized qp, so it's a chicken-egg problem.
qp.invoke_on_all(&cql3::query_processor::start_remote, std::ref(mm), std::ref(forward_service),
std::ref(ss), std::ref(group0_client)).get();
auto stop_qp_remote = defer_verbose_shutdown("query processor remote part", [&qp] {
Expand Down
2 changes: 2 additions & 0 deletions streaming/stream_reason.hh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ struct fmt::formatter<streaming::stream_reason> : fmt::formatter<std::string_vie
return formatter<std::string_view>::format("repair", ctx);
case replace:
return formatter<std::string_view>::format("replace", ctx);
case rf_change:
return formatter<std::string_view>::format("rf_chang", ctx);
case tablet_migration:
return formatter<std::string_view>::format("tablet migration", ctx);
case tablet_rebuild:
Expand Down

0 comments on commit 031bd31

Please sign in to comment.