[NO ISSUE][REP] Send correct component ID on bulkload
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Tue, 16 Nov 2021 17:18:21 +0000 (20:18 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Tue, 16 Nov 2021 21:12:49 +0000 (21:12 +0000)
commit0129fdd97e24e480e395ec570f73ca45f9344ee9
tree351dc0785c3150152c65b1520669cacada89e7bd
parentfbdb710654bf09ad4db564dea78c2e71d68ac556
[NO ISSUE][REP] Send correct component ID on bulkload

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

Details:

- When a secondary index is created, send the correct component id
  to the replica.
- Update the component id on replicas when receiving a bulkloaded
  component.

Change-Id: I5575cf9a61477636efc7e1291189a59e0a5266ae
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14103
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/nc/IndexCheckpointManager.java
asterixdb/asterix-app/src/test/java/org/apache/asterix/test/storage/PersistentLocalResourceRepositoryTest.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/storage/IIndexCheckpointManager.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/messaging/MarkComponentValidTask.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/sync/IndexSynchronizer.java