Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/18462 )
Change subject: [client] fix toggling fault-tolerance for a scanner ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/18462/1/src/kudu/client/scan_token-test.cc File src/kudu/client/scan_token-test.cc: http://gerrit.cloudera.org:8080/#/c/18462/1/src/kudu/client/scan_token-test.cc@1085 PS1, Line 1085: ASSERT_EQ(KuduScanner::READ_AT_SNAPSHOT, sc.read_mode()); > The idea was to return it back to the original state that ScanConfiguration It turns out the code in Java client assumes that switching to non-fault-tolerant scan keeps the read mode as READ_AT_SNAPSHOT. So, it seems that's a manifestation of the the Hyrum's law in this particular case :) -- To view, visit http://gerrit.cloudera.org:8080/18462 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic50f9d62623d8b9ced7d854ce0e80a0faaa60ad3 Gerrit-Change-Number: 18462 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Sat, 30 Apr 2022 02:26:15 +0000 Gerrit-HasComments: Yes