// use READ_CONSISTENCY(WEAK) when did_retry_weak is true
classObSQLClientRetryWeak:publicObISQLClient
{
public:
// only check_sys_variable is still useful
ObSQLClientRetryWeak(ObISQLClient*sql_client,
booldid_use_retry=false,
int64_tsnapshot_timestamp=OB_INVALID_TIMESTAMP,
...
...
@@ -68,9 +69,7 @@ public:
{
UNUSED(did_use_retry);
}
// tenant_id is the name space where SQL is actually executed
// The default semantics means strong consistent read
// For ordinary tenant system tables that require physical synchronization for the standby database, use the weakly consistent read of the specified snapshot version