Skip to content

Commit

Permalink
Handle namespace not found in history scan (#4287)
Browse files Browse the repository at this point in the history
  • Loading branch information
yux0 committed May 5, 2023
1 parent 08dcc70 commit 9fd0e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/worker/scanner/history/scavenger.go
Expand Up @@ -278,7 +278,7 @@ func (s *Scavenger) handleTask(
return s.cleanUpWorkflowPastRetention(ctx, ms.GetDatabaseMutableState())
}
return nil
case *serviceerror.NotFound:
case *serviceerror.NotFound, *serviceerror.NamespaceNotFound:
// case handled below
default:
s.logger.Error("encounter error when describing the mutable state", getTaskLoggingTags(err, task)...)
Expand Down

0 comments on commit 9fd0e26

Please sign in to comment.