Skip to content

Commit

Permalink
change delimeter for paused info search attribute (temporalio#6840)
Browse files Browse the repository at this point in the history
## What changed?
<!-- Describe what has changed in this PR -->
Change delimiter for pause info search attribute from "." to ":
## Why?
<!-- Tell your future self why have you made these changes -->
This is what we agree on.
  • Loading branch information
ychebotarev authored Nov 19, 2024
1 parent b2fb628 commit 2da1e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/workflow/mutable_state_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4990,7 +4990,7 @@ func (ms *MutableStateImpl) updatePauseInfoSearchAttribute() error {
}
pausedInfo := make([]string, 0, len(pausedInfoMap))
for activityType := range pausedInfoMap {
pausedInfo = append(pausedInfo, fmt.Sprintf("property.activityType=%s", activityType))
pausedInfo = append(pausedInfo, fmt.Sprintf("property:activityType=%s", activityType))
}

pauseInfoPayload, err := searchattribute.EncodeValue(pausedInfo, enumspb.INDEXED_VALUE_TYPE_KEYWORD_LIST)
Expand Down

0 comments on commit 2da1e65

Please sign in to comment.