mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 08:23:29 +00:00
044b8deae4946b755530aba8ca4137d3bc9c88bf
"The main problem fixed is slow processing of application state changes. This may lead to a bootstrapping node not having up to date view on the ring, and serve incorrect data. Fixes #2855." * tag 'tgrabiec/gossip-performance-v3' of github.com:scylladb/seastar-dev: gms/gossiper: Remove periodic replication of endpoint state map gossiper: Check for features in the change listener gms/gossiper: Replicate changes incrementally to other shards gms/gossiper: Document validity of endpoint_state properties storage_service: Update token_metadata after changing endpoint_state gms/gossiper: Process endpoints in parallel gms/gossiper: Serialize state changes and notifications for given node utils/loading_shared_values: Allow Loader to return non-future result gms/gossiper: Encapsulate lookup of endpoint_state storage_service: Batch token metadata and endpoint state replication utils/serialized_action: Introduce trigger_later() gossiper: Add and improve logging gms/gossiper: Don't fire change listeners when there is no change gms/gossiper: Allow parallel apply_state_locally() gms/gossiper: Avoid copies in endpoint_state::add_application_state() gms/failure_detector: Ignore short update intervals
…
…
…
…
…
…
…
…
…
Scylla
Quick-start
$ git submodule update --init --recursive
$ sudo ./install-dependencies.sh
$ ./configure.py --mode=release
$ ninja-build -j4 # Assuming 4 system threads.
$ ./build/release/scylla
$ # Rejoice!
Please see HACKING.md for detailed information on building and developing Scylla.
Running Scylla
- Run Scylla
./build/release/scylla
- run Scylla with one CPU and ./tmp as data directory
./build/release/scylla --datadir tmp --commitlog-directory tmp --smp 1
- For more run options:
./build/release/scylla --help
Building Fedora RPM
As a pre-requisite, you need to install Mock on your machine:
# Install mock:
sudo yum install mock
# Add user to the "mock" group:
usermod -a -G mock $USER && newgrp mock
Then, to build an RPM, run:
./dist/redhat/build_rpm.sh
The built RPM is stored in /var/lib/mock/<configuration>/result directory.
For example, on Fedora 21 mock reports the following:
INFO: Done(scylla-server-0.00-1.fc21.src.rpm) Config(default) 20 minutes 7 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-21-x86_64/result
Building Fedora-based Docker image
Build a Docker image with:
cd dist/docker
docker build -t <image-name> .
Run the image with:
docker run -p $(hostname -i):9042:9042 -i -t <image name>
Contributing to Scylla
Description
Languages
C++
72.1%
Python
26.7%
CMake
0.3%
GAP
0.3%
Shell
0.3%