Koji has QueryProcessor, which we can use for Select query. Currently, we cannot use this QueryProcessor for query with FOR UPDATE. When we add FOR UPDATE to QueryProcessor for example, we can rewrite next batch of queries to QueryProcessor.
FOR UPDATE
It is there - rowlock option - so we can proceed with rewrite.
rowlock
Metadata Update from @tkopecek: - Custom field Size adjusted to None
PR 3489
Metadata Update from @jcupova: - Issue set to the milestone: 1.31
Metadata Update from @jcupova: - Issue set to the milestone: 1.30.1 (was: 1.31)
Metadata Update from @tkopecek: - Issue untagged with: discussion - Issue set to the milestone: 1.31 (was: 1.30.1)
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @jobrauer: - Issue tagged with: testing-done
Commit 12536132 fixes this issue
Commit b9166945 fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3493
Please continue any further discussion there.