spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JoshRosen <>
Subject [GitHub] spark issue #18400: [SPARK-21188][CORE] releaseAllLocksForTask should synchr...
Date Sat, 24 Jun 2017 22:10:22 GMT
Github user JoshRosen commented on the issue:
    I actually asked @liufengdb to submit this PR after he spotted this problem while debugging
a test.
    I did a bit of digging and spotted where this bug was introduced: in,
an intermediate commit in an old PR, this was introduced when refactoring one map from a thread-safe
LoadingCache (where entires were implicitly created) to an explicit map with explicit registration
(which used synchronization). In making this change I incorrectly preserved a bad synchronization
pattern which was unnecessarily fine-grained.
    Therefore this looks like the right change to me so I'm going to retest and merge.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message