From 9888f88ac5d96f7732784e36d5d8e85ce140f9cd Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Mon, 17 Dec 2018 09:08:30 +0000 Subject: [PATCH] MCOL-1662 Use version buffer for UPDATEs For some reason version buffer is not turned up for update queries which means that the version number for dictionary blocks is not changed. This can lead to dirty cache reads resulting in _CpNoTf_ in the results. This patch turns on version buffer for updates. --- writeengine/server/we_dmlcommandproc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/writeengine/server/we_dmlcommandproc.cpp b/writeengine/server/we_dmlcommandproc.cpp index 90831afd6..006c06b48 100644 --- a/writeengine/server/we_dmlcommandproc.cpp +++ b/writeengine/server/we_dmlcommandproc.cpp @@ -2515,6 +2515,7 @@ uint8_t WE_DMLCommandProc::processUpdate(messageqcpp::ByteStream& bs, boost::scoped_array preBlkNums(new int[columnsUpdated.size()]); boost::scoped_array oids(new OID[columnsUpdated.size()]); + BRMWrapper::setUseVb(true); for (unsigned int j = 0; j < columnsUpdated.size(); j++) { //timer.start("lookupsyscat");