[NO ISSUE][STO] Limit local storage clean up to node partitions
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Tue, 1 Mar 2022 23:28:38 +0000 (02:28 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Wed, 2 Mar 2022 13:41:14 +0000 (13:41 +0000)
commitb22d05df3328338ccd245010c054d6152598817f
tree9bbfb4dbe890296c8fb4f8eb3cc154b674841388
parent6ddbbfa3c567c3af2132f0f4dcee5253011c6934
[NO ISSUE][STO] Limit local storage clean up to node partitions

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

Details:

- When attempting to delete invalid indexes during global
  recovery, only delete invalid indexes of partitions where
  the node is the current master since the master of each
  partition will ask the replica to delete the invalid indexes.

Change-Id: I9b337e83ee138a1806bc0e38e2fc3e6870c65373
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15503
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-app/src/main/java/org/apache/asterix/app/message/StorageCleanupRequestMessage.java