protected void uploadTokenToAzureTable(RemoteReplicaInfo replica, StoreFindToken token, long lastOpTime) {
    String partitionKey = String.valueOf(replica.getReplicaId().getPartitionId().getId());
    String rowKey = replica.getReplicaId().getDataNodeId().getHostname();
    TableEntity entity = new TableEntity(partitionKey, rowKey)
        .addProperty(VcrReplicationManager.TOKEN_TYPE,
            token.getType().toString())
        .addProperty(VcrReplicationManager.LOG_SEGMENT,
            token.getOffset() == null ? "none" : token.getOffset().getName().toString())
        .addProperty(VcrReplicationManager.OFFSET,
            token.getOffset() == null ? "none" : token.getOffset().getOffset())
        .addProperty(VcrReplicationManager.STORE_KEY,
            token.getStoreKey() == null ? "none" : token.getStoreKey().getID())
        .addProperty(VcrReplicationManager.BINARY_TOKEN,
            token.toBytes());
    azuriteClient.upsertTableEntity(azureTableNameReplicaTokens, entity);
  }
Tests that no token is uploaded to Azure Table if the token is unchanged in a repl-cycle.
This save dollars.
ambry-vcr/src/test/java/com/github/ambry/vcr/CloudTokenPersistorTest.java