forked from apache/celeborn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1071] Ensure guardedBy is satisfied, fix DCL bugs as well
Ensure appropriate lock is held when accessing/mutating state - as marked with `GuardedBy`. More [here](https://errorprone.info/bugpattern/GuardedBy). This also fixes [DCL](https://errorprone.info/bugpattern/DoubleCheckedLocking) bugs observed. Fix bug with locking as identified by error-prone No Unit tests Closes apache#2018 from mridulm/fix-locking-issues-found. Authored-by: Mridul Muralidharan <mridulatgmail.com> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
- Loading branch information
Showing
3 changed files
with
75 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters