Skip to content

"too many recving snapshot tasks" logs after the introduction of snapshot precheck process #17881

@hbisheng

Description

@hbisheng

In a test TiKV cluster, the following logs were observed:

  • expired in the snap recv concurrency limiter: 1232 times
  • too many recving snapshot tasks: 1902 times

too many recving snapshot tasks indicated excessive snapshot sends, which is what the snapshot precheck process (introduced in v8.3.0) aims to prevent. Most "too many recving snapshot tasks" cases can be explained by expired tokens (as the precheck process assumes snapshot generation/transmission completes within the 60s TTL), the remaining cases may indicate a bug in the precheck process.

This issue causes minor resource waste but shouldn't have significant impact.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions