Merge "rdbms: use Database::getDomainId for transaction logging calls"