private static KeyValue commitRow(HTableWrapper tableWrapper,
KeyValue statusKV, long startId, long commitId, Integer lockId) {
byte[] row = statusKV.getRow();
boolean isDelete = DominoConst.isDelete(statusKV.getValue());
try {
tableWrapper.commitRow(row, startId, commitId, isDelete, lockId);
}
catch (IOException ioe) {
}
byte[] value = DominoConst.versionValue(startId, isDelete);
KeyValue commitKV = new KeyValue(row, DominoConst.INNER_FAMILY,
DominoConst.VERSION_COL, commitId, value);
return commitKV;
}