Sailesh Mukil has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10827
Change subject: IMPALA-7215: Implement a templatized CountingBarrier ...................................................................... IMPALA-7215: Implement a templatized CountingBarrier Currently, our CountingBarrier util only notifies a 'bool' value and uses an underlying Promise<bool>. We're seeing cases in code where we might want to be notified of a different kind of Promise (other than bool). We convert this utility code to be templatized to be able to reuse the CountingBarrier for these new use cases as well. This was identified while working on IMPALA-7163. Testing: Ran 'core' tests. Change-Id: I05fc79228250408ae16481ae7ff3491a90d26b8e --- M be/src/exec/hdfs-scan-node.cc M be/src/exec/hdfs-scan-node.h M be/src/rpc/rpc-mgr-test.cc M be/src/runtime/coordinator-backend-state.cc M be/src/runtime/coordinator-backend-state.h M be/src/runtime/coordinator.cc M be/src/runtime/coordinator.h M be/src/util/counting-barrier.h M be/src/util/hdfs-bulk-ops.cc M be/src/util/hdfs-bulk-ops.h 10 files changed, 43 insertions(+), 34 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/27/10827/1 -- To view, visit http://gerrit.cloudera.org:8080/10827 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I05fc79228250408ae16481ae7ff3491a90d26b8e Gerrit-Change-Number: 10827 Gerrit-PatchSet: 1 Gerrit-Owner: Sailesh Mukil <[email protected]>
