Skip to content

Commit

Permalink
add TODO for using shard identity
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Mar 1, 2023
1 parent 6a03e8f commit 7e23744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/persistence/dataInterfaces.go
Expand Up @@ -408,6 +408,7 @@ type (
// RegisterHistoryTaskReaderRequest is a hint for underlying persistence implementation
// that a new queue reader is created by queue processing logic
RegisterHistoryTaskReaderRequest struct {
// TODO: use shard identity = shardID + owner, instead of just shardID here.
ShardID int32
TaskCategory tasks.Category
ReaderID int32
Expand All @@ -421,6 +422,7 @@ type (
// that a certain queue reader's process and the fact that it won't try to load tasks with
// key less than InclusiveMinPendingTaskKey
UpdateHistoryTaskReaderProgressRequest struct {
// TODO: use shard identity = shardID + owner, instead of just shardID here.
ShardID int32
TaskCategory tasks.Category
ReaderID int32
Expand Down

0 comments on commit 7e23744

Please sign in to comment.