ensureNoUpdatesWhenCoveredByDelete(env, codec, kvs, d);
}
private void ensureNoUpdatesWhenCoveredByDelete(RegionCoprocessorEnvironment env, IndexCodec codec, List<KeyValue> currentState,
Delete d) throws IOException {
LocalHBaseState table = new SimpleTableState(new Result(currentState));
LocalTableState state = new LocalTableState(env, table, d);
state.setCurrentTimestamp(d.getTimeStamp());
// now we shouldn't see anything when getting the index update
state.addPendingUpdates(d.getFamilyMap().get(FAMILY));
Iterable<IndexUpdate> updates = codec.getIndexUpserts(state);