commit | 6ecac13e42c52f854450c98e33d2e2624d0f6167 | [log] [tgz] |
---|---|---|
author | neutronsharc <neutronsharc@gmail.com> | Thu May 19 15:29:56 2016 -0700 |
committer | neutronsharc <neutronsharc@gmail.com> | Thu May 19 15:40:01 2016 -0700 |
tree | 4fee069e4fe6ef7d5c8848ca96e3f1cbb597bbb4 | |
parent | 94e1079aa83daee27bfa9f1b1ca08367203e88d8 [diff] |
fixed a bug at WriteLock caused by read-delete race on a znode. Bug description: T1 currently owns a zk lock as signified by znode n1, T2 creates a znode n2 and realizes n1 is saller. T2 is going to register a watcher on n1 but at the same moment T1 released n1. T2 register fails, breaks from while loop, and wait(). Nobody will ever wake up T2 again. Consequently all subsequent callers for the same lock are also blocked. Test: Repeated our loadtest and the bug doesn't reappear. For detailed bug report see this post: http://mail-archives.apache.org/mod_mbox/helix-dev/201605.mbox/%3CCAB-bdySG8Uf6c1fyVHpSu-5pD99VHE=mrL=j3QNkaTWaEtKQ+w@mail.gmail.com%3E
Helix is part of the Apache Software Foundation.
Documentation: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install package -DskipTests
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:
To deploy the web site to Apache infrastructure: sh website/deploySite.sh -Dusername=uid -Dpassword=pwd (-DskipTests if you don't want to run units tests) uid is your asf id, pwd is the password