View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006220 | SymmetricDS Pro | Bug | public | 2024-01-31 22:03 | 2024-02-15 20:28 |
Reporter | pmarzullo | Assigned To | pmarzullo | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.2 | ||||
Target Version | 3.15.3 | Fixed in Version | 3.15.3 | ||
Summary | 0006220: 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.15 38df5577 2024-01-31 22:12:54 Details Diff |
0006220: Incoming Panel on dashboard does not show bulk loading correctly |
Affected Issues 0006220 |
|
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:03 | pmarzullo | New Issue | |
2024-01-31 22:03 | pmarzullo | Status | new => assigned |
2024-01-31 22:03 | pmarzullo | Assigned To | => pmarzullo |
2024-01-31 22:03 | pmarzullo | Tag Attached: bulk | |
2024-01-31 22:03 | pmarzullo | Tag Attached: ui | |
2024-01-31 22:05 | pmarzullo | Relationship added | related to 0006221 |
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.15.3 |
2024-02-05 18:58 | admin | Status | resolved => closed |
2024-02-15 20:28 | pmarzullo | Changeset attached | => SymmetricDS 3.15 38df5577 |