View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006221 | SymmetricDS Pro | Bug | public | 2024-01-31 22:04 | 2024-02-15 20:28 |
Reporter | pmarzullo | Assigned To | pmarzullo | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.14.11 | ||||
Target Version | 3.14.12 | Fixed in Version | 3.14.12 | ||
Summary | 0006221: Incoming Panel on dashboard does not show bulk loading correctly | ||||
Description | When loading is configured to use bulk loading, the Incoming Panel on the dashboard does not show the bulk load status correctly because the bulk load column in the sym_incoming_batch is updated by the bulk loader classes (AbstractBulkDatabaseWriter) on the in memory versions of those objects, and updated later when the loading of the batch is completed. What we need to do is to change the in memory versions of the incoming batches by looking at whether the bulk load classes are loading the batch or not. We can add a new attribute to the ProcessInfo class, bulkLoaderFlag. Then the ProcessInfoDataWriter can be enhanced to update this attribute if it determines that a bulk load database writer is being used to load the data. It can look for the DatabaseWriter that is being used in its nested writer, and if it is a type of AbstractBulkDatabaseWriter, then set the bulkLoad flag to true, otherwise set it to false. Then the IncomingPanel class can update the batch list that it retrieves from the database, and modify the bulkLoaderFlag in the IncomingBatch model object if the ProcessInfo that is loading data matches a batchId from the list of batches retrieved from the database, using the value of the bulkLoaderFlag in the ProcessInfo to set the bulkLoaderFlag in the IncomingBatch model object. | ||||
Steps To Reproduce | 1. Run a load using bulk loader. 2. Watch the Incoming Batches panel on the dashboard for the batches that are part of the initial load. 3. The bulk loader flag will be false, when in fact the bulk loader is being used. | ||||
Tags | bulk, ui | ||||
SymmetricDS: 3.14 609ba7d6 2024-01-31 22:14:12 Details Diff |
0006221: Incoming Panel on dashboard does not show bulk loading correctly |
Affected Issues 0006221 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/model/ProcessInfo.java | Diff File | ||
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/model/ProcessInfoDataWriter.java | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-31 22:04 | pmarzullo | New Issue | |
2024-01-31 22:04 | pmarzullo | Status | new => assigned |
2024-01-31 22:04 | pmarzullo | Assigned To | => pmarzullo |
2024-01-31 22:04 | pmarzullo | Tag Attached: bulk | |
2024-01-31 22:04 | pmarzullo | Tag Attached: ui | |
2024-01-31 22:05 | pmarzullo | Relationship added | related to 0006220 |
2024-01-31 22:15 | pmarzullo | Status | assigned => resolved |
2024-01-31 22:15 | pmarzullo | Resolution | open => fixed |
2024-01-31 22:15 | pmarzullo | Fixed in Version | => 3.14.12 |
2024-02-05 18:57 | admin | Status | resolved => closed |
2024-02-15 20:28 | pmarzullo | Changeset attached | => SymmetricDS 3.14 609ba7d6 |