QA effort to support windows as a production platform

2010-03-30 Thread Vishal K
Hi All, We will be using zookeeper quite extensively for clustering. Windows is one of the platforms that we may need to support. Since Win32 is not supported as a production platform I was wondering to what extent is zookeeper tested on windows. We are also interested on using Zookeeper on Win64

Re: QA effort to support windows as a production platform

2010-03-31 Thread Vishal K
Hi, Any comments on the questions below? Depending upon the QA effort required, we will be happy to contribute as well. Please let me know. Regards, -Vishal On Tue, Mar 30, 2010 at 5:06 PM, Vishal K vishalm...@gmail.com wrote: Hi All, We will be using zookeeper quite extensively

Re: QA effort to support windows as a production platform

2010-04-02 Thread Vishal K
to confirm - is ZK using native code. I have talked to a few guys around and they said it is fair to assume that the programs are portable (to Windows) if they don't have native code. Just wanted to check. Thanks. On Thu, Apr 1, 2010 at 10:09 AM, Vishal K vishalm...@gmail.com wrote: Hi Patrick

Re: QA effort to support windows as a production platform

2010-04-06 Thread Vishal K
are all b/w compat. Patrick On 04/02/2010 10:41 AM, Vishal K wrote: Hi Patrick, We have not upgraded to 3.3.0 yet. We are using 3.2.2. I did notice the windows specific batch files in 3.3.0. How seemless is upgrade from 3.2.2 - 3.3.0? I will let you know if I run into any windows

Re: QA effort to support windows as a production platform

2010-04-09 Thread Vishal K
running on that platform might also be useful? It would be great to offer (with confidence) ZK to users of the windows platform. Thanks for taking on this effort, regards, Patrick On 04/08/2010 03:21 PM, Vishal K wrote: Hi Patrick, Mahadev, I was going through the logs of junit tests (all

Re: QA effort to support windows as a production platform

2010-04-09 Thread Vishal K
Hi Patrick, I will check if the servers are underprovisioned. I have one cluster with 1 windows server + 2 Linux servers. I will submit the patch for the tests. Thanks. On Fri, Apr 9, 2010 at 12:46 PM, Patrick Hunt ph...@apache.org wrote: On 04/09/2010 07:01 AM, Vishal K wrote: Hi Patrick

Re: [GSoC 2010] Zookeeper Read-Only Mode

2010-04-19 Thread Vishal K
Hi Sergey, This is a very useful feature. We would be happy to have it on our cluster. One small suggestion - It will be nice if you could document things along the way while going through the ZK code or testing ZK behavior. Since it will cover one of the core logic of ZK it will helpful to

ZOOKEEPER-107 - Allow dynamic changes to server cluster membership

2010-05-03 Thread Vishal K
Hi Henry, I just commented on the Jira. I would be happy to contribute. Please advise on the current status and next steps. Thanks. Regards, -Vishal

Re: [jira] Commented: (ZOOKEEPER-107) Allow dynamic changes to server cluster membership

2010-05-24 Thread Vishal K
Hi Andraz, I am quite keen to implement this myself. We need this for our project as well. Your environment certainly seems more dynamic. Unfortunately, I haven't been able to find time for implementing this yet due to some immediate project deadlines. While I won't be able to work on this

Re: Meetup entry for Zookeeper Contributors meeting (day after summit)

2010-06-16 Thread Vishal K
Hi Patrick, Will this be hosted over web? Thanks. -Vishal On Fri, Jun 11, 2010 at 3:33 PM, Patrick Hunt ph...@apache.org wrote: There's now a meetup entry for anyone interested in attending the ZooKeeper contributors meeting happening at Yahoo offices (sunnyvale) the day after the summit.

Re: [jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-18 Thread Vishal K
I might be wrong here, but let me try to chip in my few cents. I think the problem is in LearnerHandler.java at the leader fo this Follower. /* see what other packets from the proposal * and tobeapplied queues need to be sent * and then decide if we can just

Re: [jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-18 Thread Vishal K
Nevermind. I am on the wrong track. Flavio's earlier mail did clarify that the follower received the epoch before restart. On Fri, Jun 18, 2010 at 6:20 PM, Vishal K vishalm...@gmail.com wrote: I might be wrong here, but let me try to chip in my few cents. I think the problem

Re: [jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-18 Thread Vishal K
:/0.0.0.0:2181] FATAL org.apache.zookeeper.server.quorum.Learner - Leader epoch 7 is less than our epoch 8 -Vishal On Fri, Jun 18, 2010 at 6:33 PM, Vishal K vishalm...@gmail.com wrote: Nevermind. I am on the wrong track. Flavio's earlier mail did clarify that the follower received the epoch before

Re: [jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-13 Thread Vishal K
Hi Flavio , I got the same error messages. I can reproduce this quite easily. I will capture the logs again. Is there anything else you would like me to provide? Thanks. -Vishal On Tue, Jul 13, 2010 at 3:52 PM, Flavio Paiva Junqueira (JIRA) j...@apache.org wrote: [

Applying ZooKeeper patch

2010-07-29 Thread Vishal K
Hi, What would be the right way to apply a zookeeper patch. For instance, if I am using zookeeper-3-3.0 and I would like to apply a patch for ZOOKEEPER-790 to this version. However, I presume that the patch that I have is generate from the trunk. Is there a way I can get a patch specific to

Re: Applying ZooKeeper patch

2010-07-29 Thread Vishal K
Hi Patrick, Mahadev, We would like to apply critical patches asap. For example, this bug was preventing a failed node to rejoin the cluster. In such cases, it won't be possible to wait for the next version. What process do you suggest to be follow in such a case? I am not restricting the

Putting copyright notices in ZK?

2010-08-26 Thread Vishal K
Hi All, I work for VMware. My company tells me that any contirubtion that I make to ZK needs to have a line saying Copyright [year of creation - year of last modification] VMware, Inc. All Rights Reserved. If portions of a file are modified, then I could identify only those portions of the file,

Re: Putting copyright notices in ZK?

2010-08-27 Thread Vishal K
can resolve this issue. Best, Henry On 26 August 2010 14:58, Vishal K vishalm...@gmail.com wrote: Hi All, I work for VMware. My company tells me that any contirubtion that I make to ZK needs to have a line saying Copyright [year of creation - year of last modification] VMware, Inc

Re: Proposed: Leader communication should listen on specified IP, not wildcard address

2010-08-27 Thread Vishal K
Hi Jared, I like the idea of allowing communication with ZK on only the IP addresses specified in the config file. This is useful when you are having a host with multiple IP address and/or when you want to have traffic isolation. In our setup, we will use this feature for traffic isolation. We

Re: Proposed: Leader communication should listen on specified IP, not wildcard address

2010-08-27 Thread Vishal K
specified in the server.# should be used. Advanced configurations can specify 0:0:0:0 to get the current behavior. This way there wouldn't need to be another option to say that (which would need customized anyway in such configurations). ~Jared On Fri, Aug 27, 2010 at 9:45 AM, Vishal K

Re: Proposed: Leader communication should listen on specified IP, not wildcard address

2010-08-27 Thread Vishal K
), but then the config files of the servers would still have to be different... Does that make sense? Jared On Fri, Aug 27, 2010 at 10:49 AM, Vishal K vishalm...@gmail.com wrote: Hi Jared, If we keep this optional, then the servers would not need to bind to any specific interface. We will just use

Problems in FLE implementation

2010-09-02 Thread Vishal K
Hi All, I had posted this message as a comment for ZOOKEEPER-822. I thought it might be a good idea to give a wider attention so that it will be easier to collect feedback. I found few problems in the FLE implementation while debugging for: https://issues.apache.org/jira/browse/ZOOKEEPER-822.

Re: Problems in FLE implementation

2010-09-03 Thread Vishal K
apprecaited. Thanks. -Vishal On Fri, Sep 3, 2010 at 1:44 PM, Mahadev Konar maha...@yahoo-inc.com wrote: Hi Vishal, Thanks for picking this up. My comments are inline: On 9/2/10 3:31 PM, Vishal K vishalm...@gmail.com wrote: Hi All, I had posted this message as a comment

Re: Problems in FLE implementation

2010-09-03 Thread Vishal K
for real fix. I will send out the diff soon. I also agree that it would be nice to have the numbers you are requesting. I would love to see Thanks, -Flavio Thanks. -Vishal On Sep 3, 2010, at 8:51 PM, Vishal K wrote: Hi Mahadev, To be honest, yes, we need the quick fix. I am really

Re: znode inconsistencies across ZooKeeper servers

2010-10-06 Thread Vishal K
reappear when A is restarted and successfully rejoins the cluster. (at least until the session timeout is exceeded) Patrick On Tue, Oct 5, 2010 at 11:04 AM, Vishal K vishalm...@gmail.com wrote: Hi, I have a 3 node ZK cluster (A, B, C). On one of the the nodes (node A), I have a ZK client

Re: znode inconsistencies across ZooKeeper servers

2010-10-07 Thread Vishal K
from all servers during the time of the incident? If you could run the servers in DEBUG level logging during the time you reproduce the issue that would probably help: https://issues.apache.org/jira/browse/ZOOKEEPER Thanks! Patrick On Wed, Oct 6, 2010 at 2:57 PM, Vishal K vishalm

Re: What's the QA strategy of ZooKeeper?

2010-10-15 Thread Vishal K
Hi, I would like to add my few cents here. I would suggest to stay away from code cleanup unless it is absolutely necessary. I would also like to extend this discussion to understand the amount of testing/QA to be performed before a release. How do we currently qualify a release? Recently, we

Re: What's the QA strategy of ZooKeeper?

2010-10-15 Thread Vishal K
a plan. You should go ahead and create a jira for the QA plan. We should all pitch in with what all should be tested. Thanks mahadev On 10/15/10 7:32 AM, Vishal K vishalm...@gmail.com wrote: Hi, I would like to add my few cents here. I would suggest to stay away from code cleanup

Re: What's the QA strategy of ZooKeeper?

2010-10-15 Thread Vishal K
the corner cases of ZooKeeper. I'd expect everyone to pitch in for testing a release. We should definitely work towards a plan. You should go ahead and create a jira for the QA plan. We should all pitch in with what all should be tested. Thanks mahadev On 10/15/10 7:32 AM, Vishal K

Re: Restarting discussion on ZooKeeper as a TLP

2010-10-20 Thread Vishal K
+1. On Wed, Oct 20, 2010 at 1:50 PM, Patrick Hunt ph...@apache.org wrote: It's been a few days, any thoughts? Acceptable? I'd like to keep moving the ball forward. Thanks. Patrick On Sun, Oct 17, 2010 at 8:43 PM, 明珠刘 redis...@gmail.com wrote: +1 2010/10/14 Patrick Hunt

Allowing a ZooKeeper server to be part of multiple clusters

2010-10-25 Thread Vishal K
Hi All, I am thinking about the choices one would have to support multiple 2-node clusters. Assume that for some reason one needs to support multiple 2-node clusters. This would mean they will have to figure out a way to run a third instance of ZK server for each cluster somewhere to ensure that

Re: Allowing a ZooKeeper server to be part of multiple clusters

2010-10-25 Thread Vishal K
gaurantees between a 2 node and 3 node cluster? Thanks mahadev On 10/25/10 1:05 PM, Vishal K vishalm...@gmail.com wrote: Hi All, I am thinking about the choices one would have to support multiple 2-node clusters. Assume that for some reason one needs to support multiple 2-node

[jira] Updated: (ZOOKEEPER-734) QuorumPeerTestBase.java and ZooKeeperServerMainTest.java do not handle windows path correctly

2010-04-22 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-734: --- Attachment: ZOOKEEPER-734.patch Request for review. There is probably a better way to handle

[jira] Commented: (ZOOKEEPER-107) Allow dynamic changes to server cluster membership

2010-05-03 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12863359#action_12863359 ] Vishal K commented on ZOOKEEPER-107: Hi Henry, We are using ZK for one the projects

[jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-16 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12879520#action_12879520 ] Vishal K commented on ZOOKEEPER-335: Hi, We are running into this bug very often

[jira] Updated: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-18 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-335: --- Attachment: zklogs.tar.gz Hi, I have attached the logs. The log entries are similar to those

[jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-21 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881028#action_12881028 ] Vishal K commented on ZOOKEEPER-335: Hi, I enabled tracing and did some more

[jira] Updated: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-21 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-335: --- Attachment: faultynode-vishal.txt Apologies for multiple attachments. zookeeper servers should

[jira] Commented: (ZOOKEEPER-335) zookeeper servers should commit the new leader txn to their logs.

2010-06-22 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881280#action_12881280 ] Vishal K commented on ZOOKEEPER-335: I will try out the patch. FYI I am using 3.3.0

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-06-22 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881282#action_12881282 ] Vishal K commented on ZOOKEEPER-790: I will try out the patch. I will try it out

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-13 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12887941#action_12887941 ] Vishal K commented on ZOOKEEPER-790: Folks, Sorry to the delay. The patch did

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-13 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888119#action_12888119 ] Vishal K commented on ZOOKEEPER-790: copying comments from email to jira. Hi Flavio

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-13 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888121#action_12888121 ] Vishal K commented on ZOOKEEPER-790: copying comments from email to jira. I forgot

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-13 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888122#action_12888122 ] Vishal K commented on ZOOKEEPER-790: From ZOOKEEPER-335.. Hi, I enabled tracing

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888330#action_12888330 ] Vishal K commented on ZOOKEEPER-790: Hi Flavio, I am going to retry again

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888443#action_12888443 ] Vishal K commented on ZOOKEEPER-790: Hi Patrick, I had done that earlier. I will do

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-15 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1243#action_1243 ] Vishal K commented on ZOOKEEPER-790: Likewise. Last processed zxid set prematurely

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-16 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12889225#action_12889225 ] Vishal K commented on ZOOKEEPER-790: great! I will give it a try. Thanks. Last

[jira] Updated: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-07-19 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-822: --- Attachment: test_zookeeper_2.log test_zookeeper_1.log Attaching logs from two

[jira] Created: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-07-19 Thread Vishal K (JIRA)
Affects Versions: 3.3.0 Reporter: Vishal K Priority: Blocker Created a 3 node cluster. 1 Fail the ZK leader 2. Let leader election finish. Restart the leader and let it join the 3. Repeat After a few rounds leader election takes anywhere 25- 60 seconds to finish. Note

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-07-19 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12889902#action_12889902 ] Vishal K commented on ZOOKEEPER-822: I would like that add that the problem

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-07-19 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12890052#action_12890052 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, I have Zookeeper servers running

[jira] Updated: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-07-22 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-822: --- Attachment: zk_leader_election.tar.gz Hi Flavio, I have attached the logs. Hope this helps. Do

[jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership

2010-07-29 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12893776#action_12893776 ] Vishal K commented on ZOOKEEPER-790: Hi, I tested the patch and it works really

[jira] Updated: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-02 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-822: --- Attachment: 822.tar.gz attaching new logs. Leader election taking a long time to complete

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-06 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12896061#action_12896061 ] Vishal K commented on ZOOKEEPER-822: Hi Ivan. Were the logs of any help? I might

[jira] Created: (ZOOKEEPER-851) ZK lets any node to become an observer

2010-08-16 Thread Vishal K (JIRA)
ZK lets any node to become an observer -- Key: ZOOKEEPER-851 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-851 Project: Zookeeper Issue Type: Bug Reporter: Vishal K Fix

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-16 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12899156#action_12899156 ] Vishal K commented on ZOOKEEPER-822: Hi Ivan, Can you describe me your setup? My

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-18 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12899983#action_12899983 ] Vishal K commented on ZOOKEEPER-822: While going through the code yesterday, I

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-18 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12900108#action_12900108 ] Vishal K commented on ZOOKEEPER-822: I am suspecting that one of the node

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-18 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12900111#action_12900111 ] Vishal K commented on ZOOKEEPER-822: at line 852 in 10.17.119.101-zookeeper.log

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-19 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12900401#action_12900401 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, Ah! my trunk is quite old

[jira] Updated: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-20 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-822: --- Attachment: zookeeper-3.4.0.tar.gz Hi, To rule out any setup specific issues (VM/ESX/ect), I

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-20 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12900898#action_12900898 ] Vishal K commented on ZOOKEEPER-822: Correction: 2. SendWorker.run() calls finish

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-08-26 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902988#action_12902988 ] Vishal K commented on ZOOKEEPER-822: The fix for problem 1 and 2 above eliminates

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-02 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12905528#action_12905528 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, I was planning to send out a mail

[jira] Updated: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-07 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-822: --- Attachment: ZOOKEEPER-822.patch_v1 Hi, I have attached the diff of my changes. It is a pretty

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12909556#action_12909556 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, As I mentioned earlier

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12909560#action_12909560 ] Vishal K commented on ZOOKEEPER-822: I agree with Mahadev. Leader election taking

[jira] Created: (ZOOKEEPER-872) Small fixes to PurgeTxnLog

2010-09-14 Thread Vishal K (JIRA)
Small fixes to PurgeTxnLog --- Key: ZOOKEEPER-872 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-872 Project: Zookeeper Issue Type: Bug Affects Versions: 3.3.1 Reporter: Vishal K

[jira] Updated: (ZOOKEEPER-872) Small fixes to PurgeTxnLog

2010-09-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-872: --- Attachment: ZOOKEEPER-872 patch attached. Small fixes to PurgeTxnLog

[jira] Commented: (ZOOKEEPER-872) Small fixes to PurgeTxnLog

2010-09-14 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12909564#action_12909564 ] Vishal K commented on ZOOKEEPER-872: Is there any reason why we dont have

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-20 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12912483#action_12912483 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, Thanks. I will take a look

[jira] Commented: (ZOOKEEPER-822) Leader election taking a long time to complete

2010-09-21 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12913307#action_12913307 ] Vishal K commented on ZOOKEEPER-822: Hi Flavio, +1. Looks good. I remember looking

[jira] Commented: (ZOOKEEPER-880) QuorumCnxManager$SendWorker grows without bounds

2010-10-04 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12917685#action_12917685 ] Vishal K commented on ZOOKEEPER-880: While debugging for https://issues.apache.org

[jira] Commented: (ZOOKEEPER-851) ZK lets any node to become an observer

2010-10-15 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12921340#action_12921340 ] Vishal K commented on ZOOKEEPER-851: Hi Henry , Any comments? Thanks. -Vishal ZK

[jira] Commented: (ZOOKEEPER-445) Potential bug in leader code

2010-10-15 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12921360#action_12921360 ] Vishal K commented on ZOOKEEPER-445: Is this a bug? If not, we should just close

[jira] Created: (ZOOKEEPER-900) FLE implementation should be improved to use non-blocking sockets

2010-10-15 Thread Vishal K (JIRA)
: Bug Reporter: Vishal K Assignee: Flavio Junqueira Priority: Critical From earlier email exchanges: 1. Blocking connects and accepts: a) The first problem is in manager.toSend(). This invokes connectOne(), which does a blocking connect. While testing, I changed

[jira] Created: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-20 Thread Vishal K (JIRA)
Reporter: Vishal K The sync request does not set the session owner in Request. As a result, the leader keeps printing: 2010-07-01 10:55:36,733 - INFO [ProcessThread:-1:preprequestproces...@405] - Got user-level KeeperException when processing sessionid:0x298d3b1fa9 type:sync

[jira] Updated: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-20 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-907: --- Attachment: ZOOKEEPER-907.patch attaching patch. Spurious KeeperErrorCode = Session moved

[jira] Commented: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-20 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12923107#action_12923107 ] Vishal K commented on ZOOKEEPER-907: sure, I will write a test. What do you think

[jira] Commented: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-21 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12923627#action_12923627 ] Vishal K commented on ZOOKEEPER-907: Ben, What do you mean by partial sync

[jira] Commented: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-23 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12924200#action_12924200 ] Vishal K commented on ZOOKEEPER-907: Let the client connect to the follower. Make

[jira] Updated: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-25 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-907: --- Attachment: ZOOKEEPER-907.patch_v2 Attaching cleaned-up patch. Ben, let me know what you think

[jira] Commented: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-27 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12925512#action_12925512 ] Vishal K commented on ZOOKEEPER-907: Which return code are you referring to? You

[jira] Commented: (ZOOKEEPER-907) Spurious KeeperErrorCode = Session moved messages

2010-10-27 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12925541#action_12925541 ] Vishal K commented on ZOOKEEPER-907: It did occur to me. I thought

[jira] Commented: (ZOOKEEPER-851) ZK lets any node to become an observer

2010-10-28 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12925997#action_12925997 ] Vishal K commented on ZOOKEEPER-851: I have not used observers yet. Looks like

[jira] Commented: (ZOOKEEPER-914) QuorumCnxManager blocks forever

2010-10-29 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12926343#action_12926343 ] Vishal K commented on ZOOKEEPER-914: Hi Pat, Flavio, I will begin with admitting

[jira] Commented: (ZOOKEEPER-872) Small fixes to PurgeTxnLog

2010-11-01 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12927127#action_12927127 ] Vishal K commented on ZOOKEEPER-872: Hi Pat, The current code prints to stdout. We

[jira] Commented: (ZOOKEEPER-900) FLE implementation should be improved to use non-blocking sockets

2010-11-05 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928590#action_12928590 ] Vishal K commented on ZOOKEEPER-900: Hi Flavio, Thanks for your feedback. I will do

[jira] Commented: (ZOOKEEPER-917) Leader election selected incorrect leader

2010-11-05 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928605#action_12928605 ] Vishal K commented on ZOOKEEPER-917: Hi Flavio, Sorry for not making much progress

[jira] Commented: (ZOOKEEPER-914) QuorumCnxManager blocks forever

2010-11-08 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12929589#action_12929589 ] Vishal K commented on ZOOKEEPER-914: Hi Flavio, You are right. Sorry, my comment

[jira] Commented: (ZOOKEEPER-917) Leader election selected incorrect leader

2010-11-08 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12929602#action_12929602 ] Vishal K commented on ZOOKEEPER-917: Hi Flavio, Thanks for the clarification

[jira] Commented: (ZOOKEEPER-914) QuorumCnxManager blocks forever

2010-11-08 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12929681#action_12929681 ] Vishal K commented on ZOOKEEPER-914: Hi Flavio, The documentation is not clear

[jira] Commented: (ZOOKEEPER-914) QuorumCnxManager blocks forever

2010-11-08 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12929724#action_12929724 ] Vishal K commented on ZOOKEEPER-914: OK, that didn't make sense. My comment about

[jira] Commented: (ZOOKEEPER-917) Leader election selected incorrect leader

2010-11-09 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930169#action_12930169 ] Vishal K commented on ZOOKEEPER-917: Hi Flavio, Lets see if I understand this right

[jira] Commented: (ZOOKEEPER-900) FLE implementation should be improved to use non-blocking sockets

2010-11-09 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930272#action_12930272 ] Vishal K commented on ZOOKEEPER-900: Hi Mahadev, Yes, I will provide a patch

[jira] Created: (ZOOKEEPER-928) Follower should stop following and start FLE if it does not receive pings from the leader

2010-11-10 Thread Vishal K (JIRA)
Project: Zookeeper Issue Type: Bug Affects Versions: 3.3.2 Reporter: Vishal K Fix For: 3.4.0 In Follower.followLeader() after syncing with the leader, the follower does: while (self.isRunning()) { readPacket(qp

[jira] Commented: (ZOOKEEPER-928) Follower should stop following and start FLE if it does not receive pings from the leader

2010-11-10 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930780#action_12930780 ] Vishal K commented on ZOOKEEPER-928: Hi Flavio, I was aware of that. However

[jira] Commented: (ZOOKEEPER-928) Follower should stop following and start FLE if it does not receive pings from the leader

2010-11-10 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930786#action_12930786 ] Vishal K commented on ZOOKEEPER-928: ok, I see your point. I mis-analyzed this part

  1   2   >