cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

sql: index creation failed with mixed success error

Open roncrdb opened this issue 7 years ago • 3 comments

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

roncrdb avatar Mar 25 '19 14:03 roncrdb

this is fixed through https://github.com/cockroachdb/cockroach/pull/32888

vivekmenezes avatar Mar 25 '19 15:03 vivekmenezes

and backported to 2.1 through https://github.com/cockroachdb/cockroach/pull/34914

vivekmenezes avatar Mar 25 '19 15:03 vivekmenezes

Closing per @vivekmenezes s comments above

awoods187 avatar Apr 22 '19 22:04 awoods187