Alexey Serbin has submitted this change and it was merged. ( 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) Reviewed-on: http://gerrit.cloudera.org:8080/21296 Reviewed-by: Yingchun Lai <[email protected]> Tested-by: Alexey Serbin <[email protected]> --- M src/kudu/common/row_operations-test.cc M src/kudu/common/row_operations.cc 2 files changed, 31 insertions(+), 0 deletions(-) Approvals: Yingchun Lai: Looks good to me, approved Alexey Serbin: Verified -- 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: merged Gerrit-Change-Id: I38a33cb58a085bc83854c5145e904c8ed51092a8 Gerrit-Change-Number: 21296 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Song Jiacheng <[email protected]> Gerrit-Reviewer: Yingchun Lai <[email protected]>
