View Issue Details

IDProjectCategoryView StatusLast Update
0006221SymmetricDS ProBugpublic2024-02-15 20:28
Reporterpmarzullo Assigned Topmarzullo  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.11 
Target Version3.14.12Fixed in Version3.14.12 
Summary0006221: Incoming Panel on dashboard does not show bulk loading correctly
DescriptionWhen 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 Reproduce1. 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.
Tagsbulk, ui

Relationships

related to 0006220 closedpmarzullo Incoming Panel on dashboard does not show bulk loading correctly 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.14 609ba7d6

2024-01-31 22:14:12

pmarzullo

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

Issue History

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