diff --git a/common/persistence/history_manager.go b/common/persistence/history_manager.go index 7defabfaa75..f058f90f440 100644 --- a/common/persistence/history_manager.go +++ b/common/persistence/history_manager.go @@ -213,6 +213,7 @@ findDeleteRanges: } req := &InternalDeleteHistoryBranchRequest{ + BranchToken: request.BranchToken, BranchInfo: branch, ShardID: request.ShardID, BranchRanges: deleteRanges, diff --git a/common/persistence/persistenceInterface.go b/common/persistence/persistenceInterface.go index 7e2ee10f1c5..e23ce20f1ae 100644 --- a/common/persistence/persistenceInterface.go +++ b/common/persistence/persistenceInterface.go @@ -563,6 +563,8 @@ type ( // InternalDeleteHistoryBranchRequest is used to remove a history branch InternalDeleteHistoryBranchRequest struct { + // The raw branch token + BranchToken []byte // The branch BranchInfo *persistencespb.HistoryBranch // Used in sharded data stores to identify which shard to use