Nadav Har'El cc4117d6c1 repair: do not use an atomic integer
Avi asked not to use an atomic integer to produce ids for repair
operations. The existing code had another bug: It could return some
id immediately, but because our start_repair() hasn't started running
code on cpu 0 yet, the new id was not yet registered and if we were to
call repair_get_status() for this id too quickly, it could fail.

The solution for both issues is that start_repair() should return not
an int, but a future<int>: the integer id is incremented on cpu 0 (so
no atomics are needed), and then returned and the future is fulfilled.

Note that the future returned by start_repair() does not wait for the
repair to be over - just for its index to be registered and be usable
to a call to repair_get_status().

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
2015-08-31 09:31:19 +03:00
2015-08-31 09:31:19 +03:00
2015-08-27 11:01:08 +03:00
2015-07-19 20:48:36 +03:00
2015-08-30 15:18:28 +03:00
2015-08-18 15:48:36 +03:00
2015-07-27 10:14:02 +03:00
2015-08-25 17:07:35 +03:00
2015-08-07 09:30:53 -05:00
2015-08-28 14:47:17 +02:00
2015-08-28 14:47:17 +02:00
2015-07-31 16:27:55 +08:00
2015-08-25 17:07:35 +03:00
2015-08-02 16:07:42 +03:00
2015-07-30 10:56:01 +02:00
2015-08-09 00:05:33 +03:00
2015-08-28 14:39:46 +03:00

#Urchin

##Building Urchin

In addition to required packages by Seastar, the following packages are required by Urchin.

Submodules

Urchin uses submodules, so make sure you pull the submodules first by doing:

git submodule init
git submodule update --recursive

Building urchin on Fedora

Installing required packages:

sudo yum install yaml-cpp-devel lz4-devel zlib-devel snappy-devel jsoncpp-devel thrift-devel antlr3-tool antlr3-C++-devel libasan libubsan

Building urchin on Ubuntu 14.04

Installing required packages:

sudo apt-get install libyaml-cpp-dev liblz4-dev zlib1g-dev libsnappy-dev libjsoncpp-dev
Description
No description provided
Readme 307 MiB
Languages
C++ 73.5%
Python 25.3%
CMake 0.3%
GAP 0.3%
Shell 0.3%