Skip to content

[DocDB][YCQL][Indexes] Drop YCQL Index times out when create and drop index are being executed continuously while loading the data #20041

Closed
@shishir2001-yb

Description

@shishir2001-yb

Jira Link: DB-9003

Description

Tried on version: 2.21.0.0-b227

Note: This issue started occurring from a build between 2.21.0.0-b216 and 2.21.0.0-b227.

While executing a heavy Workload on a table if we create and drop indexes frequently then it may cause timeout issue for drop index.

Also, the following was seen on Master error log:
Note: Added the whole error in the comment

E1117 04:24:12.662847 80635 backfill_index.cc:986] Backfill Index Table(s) { test_indexes_034c74byvaluev4_idx4 } failed to backfill the index: [e718ede41a574e94bb855c1e0a321325] due to Invalid argument (yb/tserver/tablet_service.cc:735): Tablet has a different schema 595 vs 591. Requested index is not ready to backfill. IndexMap: 0x000035913cdb1e58 -> [{955035f2fa10421c9d9d379303bd95c7, table_id: "955035f2fa10421c9d9d379303bd95c7" version: 0 is_local: false columns { column_id: 0 indexed_column_id: 2 column_name: "C$_v2" colexpr { column_id: 2 } } . . . . columns { column_id: 1 indexed_column_id: 0 column_name: "C$_k" colexpr { column_id: 0 } } hash_column_count: 1 range_column_count: 1 is_unique: false indexed_table_id: "68214fdb2bd2484095f782959aca7482" indexed_hash_column_ids: 0 use_mangled_column_name: true index_permissions: INDEX_PERM_READ_WRITE_AND_DELETE backfill_error_message: "" num_rows_processed_by_backfill_job: 1461853}]

Test Details:

1. Start a workload which will load data into the YCQL table
2. Execute the following in a loop
    - Drop a random index
    - Create an index on a random column  of the table       

Find all the logs(Attachments -> http://stress.dev.yugabyte.com/stress_test/a6b1a8b9-0e5d-4e3f-b49d-bcada682ca87)

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions