Map<String, String> fetchAccountMetadataFromZK() {
    Stat stat = new Stat();
    ZNRecord znRecord = helixPropertyStore.get(RELATIVE_ACCOUNT_METADATA_PATH, stat, AccessOption.PERSISTENT);
    if (znRecord == null) {
      logger.info("The ZNRecord to read does not exist on path={}", RELATIVE_ACCOUNT_METADATA_PATH);
      return null;
    }
    return znRecord.getMapField(ACCOUNT_METADATA_MAP_KEY);
  }
Compares db with zk and prints the accounts (IDs) that are different
ambry-tools/src/main/java/com/github/ambry/account/MySqlAccountsDBTool.java