aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Chen <milantr...@gmail.com>
Subject Re: Review Request 52665: Populate curator latches with scheduler information
Date Sat, 29 Oct 2016 10:05:50 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52665/
-----------------------------------------------------------

(Updated Oct. 29, 2016, 10:05 a.m.)


Review request for Aurora, Joshua Cohen, John Sirois, and Zameer Manji.


Changes
-------

Move `LeaderLatch` creation out of `CuratorSingletonService` constructor to `lead()` in which
we can access hostname of a contender as the id for `LeaderLatch`. The hostname should be
enough to identify a contender.


Bugs: AURORA-1785
    https://issues.apache.org/jira/browse/AURORA-1785


Repository: aurora


Description
-------

Populate curator latches with scheduler information


Diffs (updated)
-----

  src/main/java/org/apache/aurora/scheduler/discovery/CuratorSingletonService.java 4040067a5301f71f35b6719b42fdf0ecbe282404


Diff: https://reviews.apache.org/r/52665/diff/


Testing (updated)
-------

verified in vagrant

(CONNECTED) /> get aurora/scheduler/member_0000000173
{"serviceEndpoint":{"host":"aurora.local","port":8081},"additionalEndpoints":{"http":{"host":"aurora.local","port":8081}},"status":"ALIVE"}
(CONNECTED) /> get aurora/scheduler/_c_fe00a931-df92-4041-97db-9ef27a56e264-latch-0000000172
aurora.local


Thanks,

Jing Chen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message