[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-04-17 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@revans2 Please close this pull request; it's merged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-14 Thread rakeshadr
Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Thanks @revans2 for the useful results. I spend sometime going through the 
changes and looks good to me. @hanm, please go ahead with merging this to 
branch-3.4.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-13 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@rakeshadr If it makes you feel any better we have been running with an 
older version of this patch in production for a while.  We have used it as part 
of a rolling upgrade at least 10 times in production where if it were not there 
we would have had some very painful outages. 

I have also manually tested it at least 50 times shooting the leader under 
load (10,000 operations/second) on a 3.4 GB DB, watching it recover, and then 
validating the integrity of the DB to be sure we didn't get any corruption.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-12 Thread rakeshadr
Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@hanm , mostly it makes sense to me as you all have done detailed code 
reviews and there is no open comments now. I hope the code path is thoroughly 
discussed/tested? I'd like to freeze the code changes asap.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-09 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@revans2 No more work is required, the patch is ready, but I am not sure if 
this should be included in the upcoming 3.4.10 release. If not we will wait 
until 3.4.10 is out to merge this into branch-3.4. @rakeshadr Do you think this 
should be included in 3.4.10?

The PR to master https://github.com/apache/zookeeper/pull/159/ could be 
merged in, I'll have another look and merge it today.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-09 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Is there any more I need to do to get this merged in?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-06 Thread afine
Github user afine commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Thanks @revans2 

+1 lgtm


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-06 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@afine I updated the test to spy on the `LearnerZooKeeperServer` instance 
and check if and when `takeSnapshot` was called.  I think this fulfills your 
desires, but with tests there can always be more. So, if you do want more tests 
or other areas covered please let me know.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-02-04 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Had another look at the patch, specifically the changes on Learner. Looks 
good to me. +1.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-31 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@revans2 the change looks good, thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-31 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@hanm I addressed your review comments.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-30 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@eribeiro will do.  It is a clean cherry pick between master and 3.5


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-30 Thread eribeiro
Github user eribeiro commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Hey @revans2, FYI. I was able to apply the both #158 and #159 without any 
explicit conflict on `branch-3.5` and `master` and #157 on branch-3.4 (but not 
on the others cited previously). So... **you really don't need 3 PR, just 2: 
one for branch-3.4 and other for `branch-3.5` and `master`**, right?

If I am right then putting a comment to apply #158 to both branch-3.4 and 
master should be enough, **IMHO**.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-30 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@fpj I addressed your review comments, and I also found another race in the 
ZAB test that I addressed.  Apparently the log line I removed was taking enough 
time for the transactions to be fully flushed.  When I removed it the test 
would occasionally fail.

Please also take a look at #158 and #159 for master and branch 3.5.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-30 Thread revans2
Github user revans2 commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
@fpj Thanks for the review I will update the comments and start porting it 
to other lines.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-28 Thread fpj
Github user fpj commented on the issue:

https://github.com/apache/zookeeper/pull/157
  
Thanks for the patch @revans2 . It makes sense to port this change to both 
3.5 and master.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---