[NO ISSUE][REP] Invalidate resources cache for replicated resources
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Thu, 10 Mar 2022 01:01:06 +0000 (04:01 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Thu, 10 Mar 2022 15:15:21 +0000 (15:15 +0000)
commitb50d4add90acb7e8cf13e7b4168f92bcf35348dc
tree065efef589f95b9059883026c31d5907aae99af5
parent336237e11710ca30cfdc7463648cac789417252d
[NO ISSUE][REP] Invalidate resources cache for replicated resources

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

Details:

- Invalidate the resources cache when a replicate index is
  created or dropped.

Change-Id: I89013addda4e8e1aeafbe1782c7eb12226ba60b7
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15623
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-replication/src/main/java/org/apache/asterix/replication/messaging/DropIndexTask.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/messaging/ReplicateFileTask.java
asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceRepository.java