Skip to content
Permalink
Browse files
[NO ISSUE][BAD] Coordinated Change for Multi-Statement
Change-Id: I94acfecbf5aaa21ab103173dd2a8ab89080461e0
  • Loading branch information
mhubail committed Jul 6, 2018
1 parent 105ee6d commit 563520ad136c27f8b9a27548e2a7caf5164db918
Showing 2 changed files with 4 additions and 3 deletions.
@@ -334,7 +334,8 @@ protected void handleDataverseDropStatement(MetadataProvider metadataProvider, S
}
}
}
final IRequestParameters requestParameters = new RequestParameters(null, null, null, null, null, null, null);
final IRequestParameters requestParameters =
new RequestParameters(null, null, null, null, null, null, null, true);
for (Channel channel : channels) {
if (!channel.getChannelId().getDataverse().equals(dvId.getValue())) {
continue;
@@ -122,7 +122,7 @@ private void deployJobs(ICcApplicationContext appCtx, List<Channel> channels, Li
listener.suspend();
activeEventHandler.registerListener(listener);
BADJobService.redeployJobSpec(entityId, channel.getChannelBody(), metadataProvider, badStatementExecutor,
hcc, new RequestParameters(null, null, null, null, null, null, null), true);
hcc, new RequestParameters(null, null, null, null, null, null, null, true), true);

ScheduledExecutorService ses = BADJobService.startRepetitiveDeployedJobSpec(listener.getDeployedJobSpecId(),
hcc,
@@ -149,7 +149,7 @@ private void deployJobs(ICcApplicationContext appCtx, List<Channel> channels, Li
new HyracksDataset(hcc, appCtx.getCompilerProperties().getFrameSize(),
ResultReader.NUM_READERS),
new ResultProperties(IStatementExecutor.ResultDelivery.IMMEDIATE),
new IStatementExecutor.Stats(), null, null, null, null),
new IStatementExecutor.Stats(), null, null, null, null, true),
true);
metadataProvider.getLocks().unlock();
//Log that the procedure stopped by cluster restart. Procedure is available again now.

0 comments on commit 563520a

Please sign in to comment.