@Override
public void commitPartition(final long tableId, String partition, List<PartitionKey> partitionKeys, final Map<UUID, String> shards)
{
final long partitionId = getOrCreatePartitionId(tableId, partition, partitionKeys);
dbi.inTransaction(new VoidTransactionCallback()
{
@Override
protected void execute(Handle handle, TransactionStatus status)
{
ShardManagerDao dao = handle.attach(ShardManagerDao.class);