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

keyspace: too many operations in txn request #6561

Closed
lhy1024 opened this issue Jun 6, 2023 · 1 comment · Fixed by #6562
Closed

keyspace: too many operations in txn request #6561

lhy1024 opened this issue Jun 6, 2023 · 1 comment · Fixed by #6562
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Jun 6, 2023

Bug Report

What did you do?

split keyspace group: pd-ctl keyspace-group split 0 1 15034

What did you expect to see?

success

What did you see instead?

[2023/06/06 17:21:22.109 +08:00] [WARN] [retry_interceptor.go:62] ["retrying of unary invoker failed"] [target=endpoint://client-8178f326-ebfc-4729-971a-a9647dc95aeb/127.0.0.1:38123] [attempt=0] [error="rpc error: code = InvalidArgument desc = etcdserver: too many operations in txn request"]

What version of PD are you using (pd-server -V)?

master

@lhy1024 lhy1024 added the type/bug The issue is confirmed as a bug. label Jun 6, 2023
@lhy1024
Copy link
Contributor Author

lhy1024 commented Jun 6, 2023

SplitKeyspaceGroupByID will call PatrolKeyspaceAssignment and PatrolKeyspaceAssignment will call LoadRangeKeyspace

The limit of LoadRangeKeyspace is keyspacePatrolBatchSize, which is 256

But the limit of etcd txn op is 128

@ti-chi-bot ti-chi-bot bot closed this as completed in #6562 Jun 6, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 6, 2023
…ns in txn request (#6562)

close #6561

Signed-off-by: lhy1024 <admin@liudos.us>
rleungx pushed a commit to rleungx/pd that referenced this issue Aug 2, 2023
…ns in txn request (tikv#6562)

close tikv#6561

Signed-off-by: lhy1024 <admin@liudos.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant