Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-11496 Avoid create/delete ClusterLock to reduce contention #5925

Merged
merged 1 commit into from May 22, 2014

Conversation

jakesmith
Copy link
Member

Ensure ClusterLock is present and avoid constant commits, which
causes a lot of write/exclusive contention in Dali.

Signed-off-by: Jake Smith jake.smith@lexisnexis.com

@hpcc-jirabot
Copy link

Jira updated

~CClustersLockedSection()
{
conn.setown(querySDS().connect(xpath.str(), myProcessSession(), RTM_LOCK_WRITE, SDS_CONNECT_TIMEOUT));
if (!conn.get()) // NB: ClusterLock is now created at File create time, so this can only true for pre-existing File's
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment - missing "be"

Ensure ClusterLock is present and avoid constant commits, which
causes a lot of write/exclusive contention in Dali.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
@jakesmith
Copy link
Member Author

@richardkchapman - Updated with comments

ghalliday added a commit that referenced this pull request May 22, 2014
HPCC-11496 Avoid create/delete ClusterLock to reduce contention     

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
@ghalliday ghalliday merged commit e53c28a into hpcc-systems:candidate-4.2.6 May 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants