RAMCloud bug fix: atomic increment
- This is backport of patch I've submitted to RAMCloud master to 1.0 code base we use.
- NOTE: You will need to rebuild RAMCloud in order to use atomic increment APIs.
(Currently only used in SharedLog experiment.)
Change-Id: I5f0abd1da6014cbf1edb315fe556aec8cc8407d3
diff --git a/setup-ramcloud.sh b/setup-ramcloud.sh
index c374833..bc35e16 100755
--- a/setup-ramcloud.sh
+++ b/setup-ramcloud.sh
@@ -24,6 +24,7 @@
git reset --hard 6a3eb98ae14ec6f732f06775220287c7245f5ff0
# bug fix for MultiWrite, make zookeeper path configurable. (TODO send this patch to upstream)
git apply ${ONOS_HOME}/ramcloud-build-scripts/ramcloud.patch
+git apply ${ONOS_HOME}/ramcloud-build-scripts/increment_fix.patch
mkdir ${RAMCLOUD_HOME}/private
cp -vf ${ONOS_HOME}/ramcloud-build-scripts/MakefragPrivateTop ${RAMCLOUD_HOME}/private/MakefragPrivateTop