[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-05-09 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/377 Never mind. I'll create a separate PR for that. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-05-09 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/377 @Randgalt Not strictly part of this PR, but I noticed that ContainerManager doesn't log the name of the container being deleted here: ```java try { LOG.info("Attempting to

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-03-22 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/377 @afine This one is also an important PR to review and merge if you have a chance. I think it's already in a good shape. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-03-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/377 @Randgalt @phunt I think this PR is in a pretty good shape, we should finalize it. Any thoughts or outstanding concerns? ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-01-26 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 FYI - I just pushed a change that adds yet-another-flag that allows 3.5.4 ZKs to read the old 3.5.3 TTL nodes. I think we must have this. The docs are updated too. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-01-26 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 IMPORTANT NOTE: TTL Nodes created in 3.5.3 will revert to EPHEMERAL with this change. We need to discuss the impact of this and consider workarounds, etc. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-01-26 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 Attn: @phunt - I just pushed two changes: - Better docs and new reserved bits in the `EphemeralType` enum. - Better implementation of the testable `serverId` in ZooKeeperServer.

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2018-01-23 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 @Randgalt i'd really like to push out a 3.5.4 - do you think it would make sense to release note this in 3.5.4 and address for 3.5.5? If you think we can finalize this PR soon I'm still open to

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-12-03 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 Controlling TTL Nodes via zoo.cfg turned out to be untennable. There are too many parts of the code that need to know about TTLs being enabled or not. The previous PR had several holes relating

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-11-28 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 @Randgalt I had to resolve some conflicts in order to compare this to current master. Posted the updated branch here: https://github.com/phunt/zookeeper/commits/ZOOKEEPER-2901 Can you review this

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-11-15 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 I think it needs to do the same thing whether it's in standalone mode or not. Least surprise. Also folks might want to test in standalone mode with the same basic configuration that they use with

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-11-03 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 > I used the sample zoo.cfg file as my config and started via bin/zkServer.sh - however I can still create a ttl based node even though "ttlNodesEnabled=false" in the zoo.cfg. I recommend you

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-20 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 Hi @Randgalt - this looks like a reasonable change to me however it's not working. I used the sample zoo.cfg file as my config and started via bin/zkServer.sh - however I can still create a ttl

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-17 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 @phunt it's back to default false now. So, I hope this can be merged. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-13 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 My "review" was a question. :-) Honestly I'm not sure what is the right thing to do here. Afraid it's painted itself into a bit of corner. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-12 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 @phunt you reviewed this PR originally so I was hoping you'd merge. @rgs1 can you merge if Pat can't? ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-11 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 @Randgalt I've been trying to focus on getting the branches, jenkins, etc... back in shape so that I can cut some releases. Any chance your original collaborators can help? I'm kinda swamped and

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-09 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 @phunt Can we get this merged please? ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-10-02 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 This feature is ready to merge (along with #378) ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-09-28 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 The integration above doesn't seem to update, but the build passes now. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-09-23 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 FYI - I did some local ad-hoc testing with server IDs 254/255 and the config value true/false in zoo.cfg and everything works as expected. ---

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-09-23 Thread Randgalt
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 There are 4 tests with this line of code and it's failing because the logger is not there (NullPointerException). Any ideas? ``` Layout layout =

[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...

2017-09-22 Thread phunt
Github user phunt commented on the issue: https://github.com/apache/zookeeper/pull/377 The zoo_sample.cfg file should also be updated as part of this patch. It should include the option, and IMO it should have ttl turned on by default (similar warning wrt id as comment in the file?)