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

Consolidate directory lock obtain code #11390

Merged
merged 1 commit into from May 28, 2015
Merged

Commits on May 28, 2015

  1. Consolidate directory lock obtain code

    The Directory#makeLock API is trappy and can easily lead to unexpected
    lock release if native locks are used. see LUCENE-6507 for details.
    This commit consolidates the lock lock into one place and only returns
    the lock instance if we actually acquired it.
    s1monw committed May 28, 2015
    Copy the full SHA
    a4c88b7 View commit details
    Browse the repository at this point in the history