Adar Dembo has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/10433 )
Change subject: KUDU-2427: make ksck-test replica order deterministic ...................................................................... KUDU-2427: make ksck-test replica order deterministic On Ubuntu 18.04, the iteration order of std::unordered_map isn't the same as on other distros. Behavioral changes like this are to be expected as the iteration order is implementation-specific. However, we had some code in ksck-test that expected a specific iteration order. Let's fix this by switching from an std::unordered_map to an std::map. Change-Id: I5da71f3582257febaccae7f142e5eb3a22548c19 Reviewed-on: http://gerrit.cloudera.org:8080/10433 Tested-by: Kudu Jenkins Reviewed-by: Will Berkeley <[email protected]> --- M src/kudu/tools/ksck-test.cc M src/kudu/tools/ksck.h 2 files changed, 10 insertions(+), 3 deletions(-) Approvals: Kudu Jenkins: Verified Will Berkeley: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/10433 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5da71f3582257febaccae7f142e5eb3a22548c19 Gerrit-Change-Number: 10433 Gerrit-PatchSet: 3 Gerrit-Owner: Adar Dembo <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: Will Berkeley <[email protected]>
