Skip to content

Commit

Permalink
0004152: Initial load extract in background issues when file sync loads
Browse files Browse the repository at this point in the history
are present
  • Loading branch information
erilong committed Nov 22, 2019
1 parent 139089f commit 62de759
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -953,9 +953,14 @@ public Map<Integer, ExtractRequest> insertReloadEvents(Node targetNode, boolean
triggerHistories, triggerRoutersByHistoryId,
mapReloadRequests, isFullLoad, symNodeSecurityReloadChannel);

insertFileSyncBatchForReload(targetNode, loadId, createBy, transactional,
int fileSyncBatches = insertFileSyncBatchForReload(targetNode, loadId, createBy, transactional,
transaction, mapReloadRequests, isFullLoad, processInfo);

if (reloadRequests != null && reloadRequests.size() > 0) {
updateTableReloadStatusTableCount(platform.supportsMultiThreadedTransactions() ? null : transaction, loadId,
totalTableCount + fileSyncBatches);
}

if (isFullLoad) {

callReloadListeners(false, targetNode, transactional, transaction, loadId);
Expand Down

0 comments on commit 62de759

Please sign in to comment.