Skip to content

Commit

Permalink
set RequestSource for Broadcast msg
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <eke@fastmail.com>
  • Loading branch information
ekexium committed Oct 9, 2024
1 parent c12a9ac commit a0e8ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions txnkv/transaction/2pc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,7 @@ func broadcastToAllStores(
ResourceGroupName: resourceGroupName,
}
req.Context.ResourceGroupTag = resourceGroupTag
req.Context.RequestSource = txn.GetRequestSource()

_, err := store.GetTiKVClient().SendRequest(
bo.GetCtx(),
Expand Down

0 comments on commit a0e8ccc

Please sign in to comment.