Skip to content
Permalink
Browse files

0003824: Additional metrics on table_reload_request and extract_request

to support loads - support restarts by resettng counts that would be
part of a different transaction.
  • Loading branch information...
jumpmind-josh committed Dec 12, 2018
1 parent 5f95292 commit 3df9e0f66082a2188fa19790b4fea7c20bf3b597
@@ -65,7 +65,7 @@ public DataServiceSqlMap(IDatabasePlatform platform, Map<String, String> replace

putSql("updateProcessedTableReloadRequest", "update $(table_reload_request) set last_update_time = ?, batch_count = ?, processed = 1 where load_id = ?");

putSql("updateTableReloadRequestLoadId", "update $(table_reload_request) set load_id = ?, table_count = ?, last_update_time = ? where target_node_id = ? and source_node_id = ? and trigger_id = ? and router_id = ? and create_time = ?");
putSql("updateTableReloadRequestLoadId", "update $(table_reload_request) set load_id = ?, table_count = ?, last_update_time = ?, batch_count = 0, row_count = 0 where target_node_id = ? and source_node_id = ? and trigger_id = ? and router_id = ? and create_time = ?");

putSql("updateTableReloadRequestLoadedCounts", "update $(table_reload_request) set "
+ " completed = (case when batch_loaded_count + 1 >= batch_count then 1 else 0 end), "

0 comments on commit 3df9e0f

Please sign in to comment.
You can’t perform that action at this time.