Adar Dembo has posted comments on this change. Change subject: KUDU-2055 [part 2]: Add util to construct sorted disjoint interval list ......................................................................
Patch Set 4: (7 comments) http://gerrit.cloudera.org:8080/#/c/8041/4//COMMIT_MSG Commit Message: PS4, Line 9: an a PS4, Line 22: overlap overlapped http://gerrit.cloudera.org:8080/#/c/8041/4/src/kudu/util/sorted_disjoint_interval_list.h File src/kudu/util/sorted_disjoint_interval_list.h: PS4, Line 37: holds holding PS4, Line 55: boolean This is a little confusing because you've mapped 'beginning' to false and end to 'true'. Instead, could you define a local enum with the values BEGINNING and END? Or would that mess up the std::sort? PS4, Line 56: indicates indicate PS4, Line 75: using uses Line 86: CHECK_EQ(active, 0); Under what circumstances would this fail? -- To view, visit http://gerrit.cloudera.org:8080/8041 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I61a813c047be4882f246eaf404598e7e18fcac87 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Hao Hao <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-HasComments: Yes
