Open andrewbaptist opened 2 days ago
Hi @andrewbaptist, please add branch-* labels to identify which branch(es) this C-bug affects.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Note that this will never complete and instead get stuck on step 2.
Could you clarify a bit more? What does "step 2" refer to?
Which version were you using when this occurred? We recently merged https://github.com/cockroachdb/cockroach/pull/128201, which is meant to address a problem similar to what you may have seen.
This is on master
(from today) so it has that fix. Step 2 refers to the step listed in the jobs table (2/7). I didn't very carefully look at the details about why it was stuck but it is quick to run using the steps above.
After creating a cluster and attempting to add an index, the index can get stuck continually failing due to memory settings. The only way to make progress is to manually change the
bulkio.index_backfill.batch_size
setting, however that should not be required and is not clear from the UI.Create a 12 node cluster:
Attempt to create an index on the cluster
Note that this will never complete and instead get stuck on step 2.
To unstick it, set the backfill batch size (this can be run either before the index creation or while it is stuck).
The index creation will now complete successfully.
Jira issue: CRDB-42302