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

Indexing fails with split failed while applying backpressure error from CDB [fix] #1

Open
urtho opened this issue Jan 19, 2024 · 0 comments

Comments

@urtho
Copy link

urtho commented Jan 19, 2024

If anyone encounters split failed while applying backpressure error that halts indexing then this CDB setting seems to solve the problem:

SET CLUSTER SETTING kv.range.backpressure_range_size_multiplier=0

Full error:

Exiting with error:     exporter cockroachdb handler (exporter cancelled) after round 21012215: aborting after failing to export round 21012215: cockroachdb: giving up after 10 retries: AddBlock() err: TxWithRetry() err: attemptTx() err: AddBlock() err: MakeWriter() prepare statement for name 'upsert_app' err: ERROR: prepared statement "upsert_app" already exists (SQLSTATE 42P05).
{"__type":"Conduit","_name":"main","level":"info","msg":"cockroachdb: retry number 0/10 with err: AddBlock() err: TxWithRetry() err: attemptTx() err: AddBlock() err: AddBlock() exec err: ERROR: split failed while applying backpressure to Put [/Table/125/1/465818260/0,/Min), [txn: 1c17b91c] on range r2377:/Table/125/1/46581{8260-9029} [(n1,s1):1, next=2, gen=58]: could not find valid split key (SQLSTATE XXUUU)","time":"2024-01-19T23:26:29.358814756Z"}
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