Skip to content
Permalink
Browse files
[NO ISSUE][ING] Set active entity as suspended on suspension success
- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When an active entity is suspended successfully, set the
  suspended flag regardless of the state.

Change-Id: I42f8d92e1719103d94aa07801b987466e2c1a11d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/9143
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
  • Loading branch information
mhubail committed Dec 4, 2020
1 parent 6fd8ab3 commit 70a7d5882f89f42b8653d8a4d9ebda37ace902c6
Showing 1 changed file with 1 addition and 0 deletions.
@@ -609,6 +609,7 @@ public void suspend(MetadataProvider metadataProvider) throws HyracksDataExcepti
suspendTask.get();
LOGGER.log(level, "waiting for state to become SUSPENDED or TEMPORARILY_FAILED");
subscriber.sync();
suspended = true;
} catch (Exception e) {
synchronized (this) {
if (LOGGER.isErrorEnabled()) {

0 comments on commit 70a7d58

Please sign in to comment.