Don't use transaction in ListModifiedSince. (#110392)

* Don't use transaction in ListModifiedSince.

To guarantee that we don't include events with RV > LatestRV, we include the check in SQL query instead.

* Fix integration test by converting SQL comments into template comments.
This commit is contained in:
Peter Štibraný
2025-09-01 11:39:02 +02:00
committed by GitHub
parent 31114fb47c
commit da43e2ae07
7 changed files with 20 additions and 42 deletions
+1
View File
@@ -129,6 +129,7 @@ func TestUnifiedStorageQueries(t *testing.T) {
Group: "group",
Resource: "res",
SinceRv: 10000,
LatestRv: 20000,
},
},
},