[NO ISSUE][REP] Do not fail create/drop resource on replica failure
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Wed, 25 Aug 2021 23:27:42 +0000 (02:27 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Thu, 26 Aug 2021 17:07:29 +0000 (17:07 +0000)
commit07d202d17ab0131703cc6731506d9880d180e65b
treedf727709f7b1895971e32fb2e182a3e843ff3173
parente7f6f72a480ed09d879e540a325825a61d55fae0
[NO ISSUE][REP] Do not fail create/drop resource on replica failure

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When creating/dropping a resource, do not fail the operation
  on the master node if it fails to send the opreation to the
  replica. When the replica node is recovered, it will be
  re-synced and will pick up all the changes.

Change-Id: I8313569cfda4b7e4fbeb23d4fdb998b3805367e1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12985
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceRepository.java