Yingchun Lai has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13864
Change subject: KUDU-2625: Support per-row error check in prepare stage ...................................................................... KUDU-2625: Support per-row error check in prepare stage Tablet servers reject the whole batch if there is a row that violates table schema constraints (e.g., presence of null values for non-nullable columns). This behavior is different from the case when errors happen at later stage of 'applying' received write operations (e.g., a duplicate key error). This patch reject only the 'bad' rows instead of the whole batch when checked errors in prepare stage. Change-Id: I497fc3d5d1c9cbb0c183997c9adb8f5efeb9c9d0 --- M src/kudu/common/partial_row.h M src/kudu/common/row_operations-test.cc M src/kudu/common/row_operations.cc M src/kudu/common/row_operations.h M src/kudu/tablet/row_op.cc M src/kudu/tablet/row_op.h M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet_bootstrap.cc M src/kudu/tablet/transactions/write_transaction.cc 9 files changed, 229 insertions(+), 159 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/64/13864/1 -- To view, visit http://gerrit.cloudera.org:8080/13864 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I497fc3d5d1c9cbb0c183997c9adb8f5efeb9c9d0 Gerrit-Change-Number: 13864 Gerrit-PatchSet: 1 Gerrit-Owner: Yingchun Lai <[email protected]>
