Tianyi Wang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/8410


Change subject: IMPALA-6118: Fix assertion failure in coordinator bloom filter 
updating
......................................................................

IMPALA-6118: Fix assertion failure in coordinator bloom filter updating

Coordinator::UpdateFilter wrongly assumed std::string::capacity() to be
0 after std::string::clear(), resulting in an DCHECK failure in memory
tracking. This patch uses std::string::shrink_to_fit, calculates the
difference of the capacity and releases memory in the memory tracker
accordingly.

Change-Id: Ia28f9eb8d0b3e795d798949a1cfcfeaaec7040ed
---
M be/src/runtime/coordinator.cc
1 file changed, 7 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/10/8410/1
--
To view, visit http://gerrit.cloudera.org:8080/8410
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia28f9eb8d0b3e795d798949a1cfcfeaaec7040ed
Gerrit-Change-Number: 8410
Gerrit-PatchSet: 1
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>

Reply via email to