sql: index creation failed with mixed success error
Describe the problem
When creating a new index the job failed after some time with the following error:
the batch experienced mixed success and failure
To Reproduce
I attempted to reproduce, but it appears that the schema we have may be outdated as when I ran the create index query after creating all the tables it gave me an error that a specific column did not exist, we have the schema for the DB here.
Expected behavior Expected the index to be created
Additional data / screenshots Logs of the issue can be found here. These logs are from the gateway node and shows the command issued, and where if failed.
The full debug zip can be found here.
Environment:
- CockroachDB version 2.1
this is fixed through https://github.com/cockroachdb/cockroach/pull/32888
and backported to 2.1 through https://github.com/cockroachdb/cockroach/pull/34914
Closing per @vivekmenezes s comments above