Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shard in ShardStateRecovering status never recover when restart #119

Open
hunjixin opened this issue Apr 11, 2022 · 2 comments
Open

shard in ShardStateRecovering status never recover when restart #119

hunjixin opened this issue Apr 11, 2022 · 2 comments

Comments

@hunjixin
Copy link

No description provided.

@hunjixin
Copy link
Author

case OpShardRecover:
			if s.state != ShardStateErrored {
				err := fmt.Errorf("refused to recover shard in state other than errored; current state: %d", s.state)
				res := &ShardResult{Key: s.key, Error: err}
				d.dispatchResult(res, tsk.waiter)
				break
			}

OpShardRecover will check this problems

@hunjixin
Copy link
Author

#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant