Skip to content

Commit 38640b3

Browse files
committed
annotate
1 parent dea0ae3 commit 38640b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/server_family.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3441,7 +3441,8 @@ void ServerFamily::AddReplicaOf(CmdArgList args, const CommandContext& cmd_cntx)
34413441
cluster_replicas_.push_back(std::move(add_replica));
34423442

34433443
service_.proactor_pool().AwaitFiberOnAll(
3444-
[this](auto index, auto* cntx) { tl_cluster_replicas = cluster_replicas_; });
3444+
[this](auto index, auto* cntx)
3445+
ABSL_NO_THREAD_SAFETY_ANALYSIS { tl_cluster_replicas = cluster_replicas_; });
34453446

34463447
cmd_cntx.rb->SendOk();
34473448
}

0 commit comments

Comments
 (0)