forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuzz-itest: fix a test failure with scan-at-snapshot
Some of the logic of when to record snapshots was broken, which caused an occasional test failure when using SCAN_AT_SNAPSHOT. We didn't see this fail often due to a separate bug, in which we were only scheduling SCAN_AT_SNAPSHOT at timestamps between 0 and <num_flushes> where in fact the clock on the server was getting bumped by every operation due to the GetRow() call invoking a server-side Scan. This fixes both issues and adds a new test which was failing prior to the fix. Change-Id: Ia5a7d8ae74e2286e0e9696f79c85348965ef80ed Reviewed-on: http://gerrit.cloudera.org:8080/6494 Tested-by: Kudu Jenkins Reviewed-by: David Ribeiro Alves <[email protected]>
- Loading branch information
1 parent
da75b66
commit d917400
Showing
1 changed file
with
36 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters