chandrasekhar-188k commented on code in PR #6955:
URL: https://github.com/apache/hbase/pull/6955#discussion_r2153582126
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestBulkLoadReplication.java:
##########
@@ -322,4 +329,84 @@ public void postBulkLoadHFile(ObserverContext<? extends
RegionCoprocessorEnviron
});
}
}
+
+ @Test
+ public void testBulkloadReplicationActiveActiveForNoRepFamily() throws
Exception {
+ Table peer1TestTable =
UTIL1.getConnection().getTable(TestReplicationBase.tableName);
+ Table peer2TestTable =
UTIL2.getConnection().getTable(TestReplicationBase.tableName);
+ Table peer3TestTable =
UTIL3.getConnection().getTable(TestReplicationBase.tableName);
+ byte[] row = Bytes.toBytes("004");
+ byte[] value = Bytes.toBytes("v4");
+ assertBulkLoadConditionsForNoRepFamily(row, value, UTIL1, peer1TestTable,
peer2TestTable,
+ peer3TestTable);
+ // additional wait to make sure no extra bulk load happens
+ Thread.sleep(400);
+ assertEquals(1, BULK_LOADS_COUNT.get());
+ ZKWatcher zkw = UTIL1.getZooKeeperWatcher();
Review Comment:
ok, i will update it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]