Skip to content

[Bug]: txn need retry in rc mode during CREATE INDEX #21456

@cpegeric

Description

@cpegeric

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

ec44079

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

When I create an IVF index with 1 million vector with dimension 3072, create index is very slow and take around 10 mins to finish. At the end of the create index, insert into mo_catalog.mo_indexes failed with error "txn need retry in rc mode, def changed." Actually, only one session is running. As a result, create index re-run again and run successfully second time.

Image

Image

Expected Behavior

Create index should be finished in one time without retry.

Steps to Reproduce

1 million vector with dimension 3072.

sql> create index idx using ivfflat on tbl(embed) lists=1000 op_type 'vector_l2_ops';

Additional information

No response

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't workingno-pr-linkedIssue Closed without PRseverity/s0Extreme impact: Cause the application to break down and seriously affect the use

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions