private void updateMemberSize(MemberName mn, Integer size, SizeMode mode) {
      if (sizeEstimators == null) {
        return;
      }

      switch (mode) {
        case Delta:
          this.memberObjectsSize[mn.ordinal()] += size;
          break;
        case Snapshot:
          this.memberObjectsSize[mn.ordinal()] = size;
          break;
      }

      String tblKey = getTblKey();
      tableToUpdateSize.add(tblKey);
    }
this flag is used to validate/invalidate cached constraints snapshot.
All table constraints are update successfully either via updater thread or
while create_table_with_constraint api then it is set to true else
false and redirect all the call to raw metastore.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java