Skip to content

[YSQL] [Table locks][Transactional DDL] GIN Index Creation Fails with 'ERROR: Expecting a used read time from the previous RPC but didn't find one' Error When Table-Level Locks and Transactional DDL Are Enabled #27673

Open
@hariharasudhan-yb

Description

@hariharasudhan-yb

Jira Link: DB-17271

Description

Existing cross functional tests involving GIN indexes are failing with the below error while creating gin indexes . This is observed in a run where both table-level locks and transactional DDL are enabled, in version 2.27.0.0-b227. Can you have a look ? One of the test runs logs - Logs

gin_index_with_colocation_index_backfill=# CREATE INDEX idx_tsv ON employees using ybgin(introduction);
ERROR:  ERROR:  Expecting a used read time from the previous RPC but didn't find one

This could be a regression, as the run with build b188 last week—where both flags were enabled—did not encounter this issue.

Flags enabled :

"MASTER":{
"enable_object_locking_for_table_locks":"true",
"allowed_preview_flags_csv":"enable_object_locking_for_table_locks",
"TEST_ysql_yb_ddl_transaction_block_enabled":"true"
}
"TSERVER:{
"enable_object_locking_for_table_locks":"true",
"allowed_preview_flags_csv":"enable_object_locking_for_table_locks",
"TEST_ysql_yb_ddl_transaction_block_enabled":"true"
}

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

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions