Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21296


Change subject: KUDU-3495 Initialize the bitmap while decoding insert/upsert
......................................................................

KUDU-3495 Initialize the bitmap while decoding insert/upsert

The upsert request with an old client schema might lead to
unexpected result eventually.

If client A opens a table first and then client B add a column
to the table, the upsert request of client A might set the
newly added column to default value.

The reason is that we did not initialize the tablet_isset_bitmap
while decoding the insert or upsert requests.

A user does not want to change the column which he did not request
to even if the client schema is not correct, so initialize the bitmap.

Change-Id: I38a33cb58a085bc83854c5145e904c8ed51092a8
Reviewed-on: http://gerrit.cloudera.org:8080/20327
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
(cherry picked from commit f1f3c907fc6f012b6d7a72f0103e1db4f56f0e7d)
---
M src/kudu/common/row_operations-test.cc
M src/kudu/common/row_operations.cc
2 files changed, 31 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/96/21296/1
--
To view, visit http://gerrit.cloudera.org:8080/21296
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: branch-1.17.x
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a33cb58a085bc83854c5145e904c8ed51092a8
Gerrit-Change-Number: 21296
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Song Jiacheng <[email protected]>

Reply via email to