[ https://issues.apache.org/jira/browse/PHOENIX-7069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Palash Chauhan updated PHOENIX-7069: ------------------------------------ Description: As part of metadata caching redesign, we pick a random live region server to validate last ddl timestamps on the read/write path. To avoid a master RPC for every request, we can cache a list of live region servers when CQSI is initialized. Doing this in CQSI.init() causes test failures in Permission*ITs because the tests are unable to initialize CQSI since listing decom region servers needs ADMIN access. Permissions were relaxed and released in https://issues.apache.org/jira/browse/HBASE-28391 so we can add an hbase version check in the failing tests. If the hbase version is older then we can disable metadata caching redesign feature for the tests. was:As part of metadata caching redesign, we pick a random live region server to validate last ddl timestamps on the read/write path. To avoid a master RPC for every request, we can cache a list of live region servers when CQSI is initialized. Doing this in CQSI.init() causes test failures in Permission*ITs. > Initializing list of live region servers in CQSI.init causes failures in > Permission related ITs > ----------------------------------------------------------------------------------------------- > > Key: PHOENIX-7069 > URL: https://issues.apache.org/jira/browse/PHOENIX-7069 > Project: Phoenix > Issue Type: Sub-task > Reporter: Palash Chauhan > Assignee: Rushabh Shah > Priority: Major > > As part of metadata caching redesign, we pick a random live region server to > validate last ddl timestamps on the read/write path. To avoid a master RPC > for every request, we can cache a list of live region servers when CQSI is > initialized. Doing this in CQSI.init() causes test failures in Permission*ITs > because the tests are unable to initialize CQSI since listing decom region > servers needs ADMIN access. > Permissions were relaxed and released in > https://issues.apache.org/jira/browse/HBASE-28391 so we can add an hbase > version check in the failing tests. If the hbase version is older then we can > disable metadata caching redesign feature for the tests. -- This message was sent by Atlassian Jira (v8.20.10#820010)