ensureStarted();
final MetadataRecord record = convert(metadata);
log.trace("Update: {}={}", id, record);
database.execute(new TxBlock()
{
@Override
public void tx(final DB db) throws TxRollbackException {
MetadataRecord prev = entries(db).put(id, record);
checkState(prev != null, "Can not update non-existent blob-id: %s", id);