Steps to reproduce
- Create a table with region replication set to a value greater than 1
- Modify any of the table properties, say max file size
The modify table should succeed and run to completion.
The modify table keep running infinitely
The problem occurs due to inifinitely looping between states REOPEN_TABLE_REGIONS_REOPEN_REGIONS and REOPEN_TABLE_REGIONS_CONFIRM_REOPENED of ReopenTableRegionsProcedure, called as part of ModifyTableProcedure.
For a table having region replicas:
- Any modify table operation fails to complete
- Also, enable table replication fails to complete as it is unable to change the replication scope of the table in source cluster