-
Notifications
You must be signed in to change notification settings - Fork 616
Fix OverlappingFileLockException. #1536
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
Conversation
Access the data shared by multiple threads only after acquiring cross-process and multi-thread safe locks.
Coverage ReportAffected SDKsNo changes between base commit (9eb88b1) and head commit (03cc38ba). Test Logs
NotesHTML coverage reports can be produced locally with Head commit (03cc38ba) is created by Prow via merging commits: 9eb88b1 dc9cb81. |
Binary Size ReportAffected SDKsNo changes between base commit (9eb88b1) and head commit (03cc38ba). Test Logs
NotesHead commit (03cc38ba) is created by Prow via merging commits: 9eb88b1 dc9cb81. |
Fix for #1519.
Background: We split the network calls to FIS Servers onto a separate thread. We need to persist the response received from the servers, we were accessing the data without acquiring the thread/process locks. Hence causing OFLE.
OverlappingFileLockException is thrown when an attempt to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.
Also, updating version file to represent the correct version.