User Tools

Site Tools


scylladb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scylladb [2019/01/01 14:50] – external edit 127.0.0.1scylladb [2023/02/06 13:36] (current) Jan Forman
Line 1: Line 1:
 +====== Consistency Levels ======
 +
 +| ANY | A write is written to at least one node in the cluster. Provides the highest availability with the lowest consistency. |
 +| QUORUM | When a majority of the replicas respond, the request is honored. If RF=3, then 2 replicas respond. QUORUM can be calculated using the formula (n/2 +1) where n is the Replication Factor. |
 +| ONE | If one replica responds, the request is honored. |
 +| LOCAL_ONE | At least one replica in the local data center responds. |
 +| LOCAL_QUORUM | A quorum of replicas in the local datacenter responds. |
 +| EACH_QUORUM | (unsupported for reads) – A quorum of replicas in ALL data centers must be written to. |
 +| ALL | A write must be written to all replicas in the cluster, a read waits for a response from all replicas. Provides the lowest availability with the highest consistency. |
 +
 +====== LXC Params ======
 +Developer mode on
 +<code>SCYLLA_ARGS="--log-to-syslog 1 --log-to-stdout 0 --default-log-level info --collectd-address=127.0.0.1:25826 --collectd=1 --collectd-poll-period 3000 --network-stack posix --smp 4 --memory 6G --overprovisioned"</code>
 +
 +
 +<code>cat /etc/scylla.d/cpuset.conf
 +CPUSET="--cpuset 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35"
 +</code>
 +
 +====== Delay Start Systemd ======
 +[Service]
 +ExecStartPre=/bin/sleep 10
 +
 +====== Cannot start ScyllaDB 2.1 on CentOS 7 ======
 +<code>
 +remark AmbientCapabilities in scylla-server.service
 +</code>
 +
 +====== Remove node ======
 +
 +Temporary
 +<code>nodetool drain</code>
 +Flush node
 +<code>nodetool decomission</code>
 +
 +====== Nodetool status ======
 +<code>nodetool -h ::FFFF:127.0.0.1 status</code>
 +
 +====== 3rd repository ======
 +<code>https://copr.fedorainfracloud.org/coprs/scylladb/scylla-3rdparty/repo/epel-7/scylladb-scylla-3rdparty-epel-7.repo</code>
  
scylladb.txt · Last modified: 2023/02/06 13:36 by Jan Forman