# need to start the transaction here, so that the database can
# provide repeatable reads for the used-by checks. this means it
# need to start the transaction here, so that the database can
# provide repeatable reads for the used-by checks. this means it