Yifan Zhang has posted comments on this change. ( http://gerrit.cloudera.org:8080/12158 )
Change subject: KUDU-2348: Pick a random replica in RemoteTablet.java ...................................................................... Patch Set 9: > You might also want to take a look at https://gerrit.cloudera.org/#/c/11088/, > which is changing the CLOSEST_REPLICA logic to also take into > account locations (i.e. rack awareness / rack assignments). > My bad, had the wrong link in that last comment. I meant this > changelist: https://gerrit.cloudera.org/#/c/12175/. If multiple servers are the same 'close', clients will always choose a definite server, > My bad, had the wrong link in that last comment. I meant this > changelist: https://gerrit.cloudera.org/#/c/12175/. If some servers are the same 'close' to many client instances, clients also choose a definite server. So we need a random seed binding to a client instance so that different clients would choose different server in the cluster. Maybe it is a choice to use process id identifing client instances. -- To view, visit http://gerrit.cloudera.org:8080/12158 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I3d70e45d4c9532bb32223c1dddd0936b4ff8fd99 Gerrit-Change-Number: 12158 Gerrit-PatchSet: 9 Gerrit-Owner: Yifan Zhang <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: Will Berkeley <[email protected]> Gerrit-Reviewer: Yifan Zhang <[email protected]> Gerrit-Comment-Date: Wed, 29 May 2019 11:15:52 +0000 Gerrit-HasComments: No
