View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005398 | SymmetricDS | Bug | public | 2022-08-11 15:34 | 2022-08-30 13:02 |
Reporter | pmarzullo | Assigned To | pmarzullo | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.12.17 | ||||
Target Version | 3.12.18 | Fixed in Version | 3.12.18 | ||
Summary | 0005398: Batch Locking issue when exceptions occur during locking (semaphore and batch file locking) | ||||
Description | When cluster staging is enabled, and when there are I/O errors working with the file system when trying to execute batch file locks, the exception is thrown and the return of the lock is null because the return is not actually executed. So when the application that received the exception goes to release the file lock and the semaphore lock, there is no lock object to release so the semaphore lock never is released, causing any other threads waiting on this batch lock to be released to wait forever. The batch lock needs to be released whenever there is an exception thrown. | ||||
Steps To Reproduce | 1. cluster.staging.enabled=true 2. Common batch 3. Shared file system for batches 4. Run synch for one node for a batch, and make sure that the creation of the batch lock file throws an exception. 5. Run synch for another node for same batch. 6. Second synch thread should be waiting for release of semaphore. | ||||
Tags | extract | ||||
|
Merged into 3.13 and 3.14 Patched for 3.12, 3.13, and 3.14 https://www.jumpmind.com/downloads/symmetricds/patches/3.12/patch-0005398.jar https://www.jumpmind.com/downloads/symmetricds/patches/3.13/patch-0005398.jar https://www.jumpmind.com/downloads/symmetricds/patches/3.14/patch-0005398.jar |
SymmetricDS: 3.12 10d38b2a 2022-08-11 15:35:37 Details Diff |
0005398: Batch Locking issue when exceptions occur during locking (semaphore and batch file locking) |
Affected Issues 0005398 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataExtractorService.java | Diff File | ||
SymmetricDS: 3.13 5a1ad3da 2022-08-11 15:35:37 Details Diff |
0005398: Batch Locking issue when exceptions occur during locking (semaphore and batch file locking) |
Affected Issues 0005398 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataExtractorService.java | Diff File | ||
SymmetricDS: 3.14 8f210f9e 2022-08-11 15:35:37 Details Diff |
0005398: Batch Locking issue when exceptions occur during locking (semaphore and batch file locking) |
Affected Issues 0005398 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataExtractorService.java | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-08-11 15:34 | pmarzullo | New Issue | |
2022-08-11 15:34 | pmarzullo | Status | new => assigned |
2022-08-11 15:34 | pmarzullo | Assigned To | => pmarzullo |
2022-08-11 15:34 | pmarzullo | Tag Attached: extract | |
2022-08-11 15:58 | pmarzullo | Status | assigned => resolved |
2022-08-11 15:58 | pmarzullo | Resolution | open => fixed |
2022-08-11 15:58 | pmarzullo | Fixed in Version | => 3.12.18 |
2022-08-11 15:58 | pmarzullo | Note Added: 0002157 | |
2022-08-11 16:00 | pmarzullo | Changeset attached | => SymmetricDS 3.12 10d38b2a |
2022-08-11 16:00 | pmarzullo | Changeset attached | => SymmetricDS 3.13 5a1ad3da |
2022-08-11 16:00 | pmarzullo | Changeset attached | => SymmetricDS 3.14 8f210f9e |
2022-08-30 13:02 | admin | Status | resolved => closed |