Simplified distributed block and file storage with strong consistency, like in Ceph
 
 
 
 
 
 
Go to file
Vitaliy Filippov 7fbb04fdfa
Test / buildenv (push) Successful in 12s Details
Test / build (push) Successful in 4m10s Details
Test / npm_lint (push) Successful in 11s Details
Test / test_cas (push) Successful in 8s Details
Test / make_test (push) Successful in 36s Details
Test / test_change_pg_count (push) Successful in 19s Details
Test / test_change_pg_size (push) Successful in 9s Details
Test / test_change_pg_count_ec (push) Successful in 22s Details
Test / test_create_nomaxid (push) Successful in 9s Details
Test / test_add_osd (push) Successful in 1m7s Details
Test / test_etcd_fail_antietcd (push) Successful in 41s Details
Test / test_etcd_fail (push) Successful in 44s Details
Test / test_interrupted_rebalance (push) Successful in 47s Details
Test / test_create_halfhost (push) Successful in 8s Details
Test / test_interrupted_rebalance_imm (push) Successful in 46s Details
Test / test_failure_domain (push) Successful in 10s Details
Test / test_snapshot (push) Successful in 14s Details
Test / test_snapshot_ec (push) Successful in 16s Details
Test / test_interrupted_rebalance_ec_imm (push) Successful in 48s Details
Test / test_interrupted_rebalance_ec (push) Successful in 50s Details
Test / test_minsize_1 (push) Successful in 14s Details
Test / test_rm (push) Successful in 12s Details
Test / test_move_reappear (push) Successful in 18s Details
Test / test_snapshot_down (push) Successful in 13s Details
Test / test_snapshot_down_ec (push) Successful in 13s Details
Test / test_snapshot_chain (push) Successful in 30s Details
Test / test_splitbrain (push) Successful in 14s Details
Test / test_snapshot_chain_ec (push) Successful in 38s Details
Test / test_rebalance_verify (push) Successful in 1m47s Details
Test / test_rebalance_verify_imm (push) Successful in 1m47s Details
Test / test_dd (push) Successful in 15s Details
Test / test_root_node (push) Successful in 11s Details
Test / test_rebalance_verify_ec (push) Successful in 1m54s Details
Test / test_rebalance_verify_ec_imm (push) Successful in 1m58s Details
Test / test_write_no_same (push) Successful in 9s Details
Test / test_switch_primary (push) Successful in 35s Details
Test / test_write (push) Successful in 34s Details
Test / test_write_xor (push) Successful in 37s Details
Test / test_heal_pg_size_2 (push) Successful in 2m16s Details
Test / test_heal_ec (push) Successful in 2m19s Details
Test / test_heal_antietcd (push) Successful in 2m18s Details
Test / test_heal_csum_32k_dmj (push) Successful in 2m20s Details
Test / test_heal_csum_32k_dj (push) Successful in 2m20s Details
Test / test_heal_csum_32k (push) Successful in 2m19s Details
Test / test_heal_csum_4k_dj (push) Successful in 2m16s Details
Test / test_heal_csum_4k_dmj (push) Successful in 2m22s Details
Test / test_resize_auto (push) Successful in 11s Details
Test / test_resize (push) Successful in 15s Details
Test / test_snapshot_pool2 (push) Successful in 16s Details
Test / test_osd_tags (push) Successful in 8s Details
Test / test_enospc (push) Successful in 11s Details
Test / test_enospc_imm (push) Successful in 12s Details
Test / test_enospc_xor (push) Successful in 15s Details
Test / test_enospc_imm_xor (push) Successful in 14s Details
Test / test_scrub_zero_osd_2 (push) Successful in 13s Details
Test / test_scrub (push) Successful in 16s Details
Test / test_scrub_xor (push) Successful in 15s Details
Test / test_scrub_pg_size_3 (push) Successful in 17s Details
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 16s Details
Test / test_scrub_ec (push) Successful in 15s Details
Test / test_nfs (push) Successful in 13s Details
Test / test_heal_csum_4k (push) Successful in 2m19s Details
Release 1.10.0
New features:

- Implement basic VitastorFS support in [CSI](https://vitastor.io/docs/installation/kubernetes.html)
- Implement [NFS RDMA](https://vitastor.io/docs/usage/nfs.html#rdma) support
- Pause pool rebalance when monitor detects that it can lead to any OSD becoming full ([osd_backfillfull_ratio](https://vitastor.io/docs/config/monitor.html#osd_backfillfull_ratio))
- Auto-select correct [RDMA device and GID](https://vitastor.io/docs/config/network.html#rdma_device) based on osd_network and RoCEv2 priority
- Report slow ops in OSD stats in etcd and show them in vitastor-cli status

Bug fixes:

- Fix possibly incorrect linked list deserialization in NFS
- Fix possible crash in vitastor-nfs --block READDIR operation
- Map netlink after forking to show correct PID in vitastor-nbd ls
- Simplify and fix create-pool OSD count checks for the case of hosts split into sub-nodes
- Make monitor print "Waiting to become master" just once, not every 5s
- Take out_size from oimg if not specified in vitastor-cli dd
- Do not report OSDs with empty statistics as "full" in status
- Trigger double autosync when switching PG state to prevent leaving garbage in non-immediate_commit clusters
- Fix a lack of connection timeout for etcd websockets in OSD leading to slower etcd failover (~70s instead of ~10s)
- Fix a rare OSD crash during client disconnect
- Fix PGs sometimes sticking until OSD restart in the "has_unclean" state with EC pools
- Fix metadata partition zeroing in vitastor-disk prepare
- Add patches for qemu 9.1 and pve-qemu 9.0 and 9.1
- Fix libvirt 8 patch
2024-12-19 15:49:19 +03:00
.gitea/workflows Fix create-pool for the case of hosts split into sub-nodes 2024-11-22 01:01:07 +03:00
cpp-btree@8de8b467ac Fix "partly outside array bounds" warnings for GCC 12 in cpp-btree 2024-01-15 03:04:33 +03:00
csi Release 1.10.0 2024-12-19 15:49:19 +03:00
debian Release 1.10.0 2024-12-19 15:49:19 +03:00
docker Add tests to CI 2023-05-14 00:06:09 +03:00
docs Document NFS-RDMA 2024-12-19 14:05:12 +03:00
json11@fd37016cf8 Return the new accidentally rolled back json11 commit ("allow trailing comma") 2023-11-07 15:49:23 +03:00
mon Release 1.10.0 2024-12-19 15:49:19 +03:00
node-binding Disable trace in header 2024-08-13 11:21:35 +03:00
opennebula Add custom OpenNebula oned.conf patcher (it uses a SHITTY configuration file format) 2024-10-06 13:46:05 +03:00
patches Release 1.10.0 2024-12-19 15:49:19 +03:00
rpm Release 1.10.0 2024-12-19 15:49:19 +03:00
src Release 1.10.0 2024-12-19 15:49:19 +03:00
tests Fix create-pool for the case of hosts split into sub-nodes 2024-11-22 01:01:07 +03:00
.dockerignore Add the remaining build script for Debian 2021-02-26 01:59:18 +03:00
.gitignore Move all sources to subdirs 2024-05-15 11:06:01 +03:00
.gitmodules Add cpp-btree and json11 submodules 2020-09-17 23:07:06 +03:00
CLA-en.md Add CLA PR form 2024-01-14 16:48:24 +03:00
CLA-ru.md Add Contributor License Aggrement in Russian and English 2023-12-31 01:23:52 +03:00
CMakeLists.txt Release 1.10.0 2024-12-19 15:49:19 +03:00
GPL-2.0.txt Add license texts 2020-09-17 23:07:06 +03:00
LICENSE Add LICENSE 2021-04-10 17:44:12 +03:00
README-ru.md Fix link, add title 2024-09-29 22:05:56 +03:00
README.md Fix link, add title 2024-09-29 22:05:56 +03:00
VNPL-1.1-RU.txt Fix typo 2023-01-27 01:52:02 +03:00
VNPL-1.1.txt Fix typo in VNPL-1.1 2022-06-24 01:34:25 +03:00
copy-fio-includes.sh Move all sources to subdirs 2024-05-15 11:06:01 +03:00
copy-qemu-includes.sh Move all sources to subdirs 2024-05-15 11:06:01 +03:00
pull_request_template.yml Add CLA PR form 2024-01-14 16:48:24 +03:00

README.md

Vitastor

Читать на русском

The Idea

Make Clustered Block Storage Fast Again.

Vitastor is a distributed block and file SDS, direct replacement of Ceph RBD and CephFS, and also internal SDS's of public clouds. However, in contrast to them, Vitastor is fast and simple at the same time. The only thing is it's slightly young :-).

Vitastor is architecturally similar to Ceph which means strong consistency, primary-replication, symmetric clustering and automatic data distribution over any number of drives of any size with configurable redundancy (replication or erasure codes/XOR).

Vitastor targets primarily SSD and SSD+HDD clusters with at least 10 Gbit/s network, supports TCP and RDMA and may achieve 4 KB read and write latency as low as ~0.1 ms with proper hardware which is ~10 times faster than other popular SDS's like Ceph or internal systems of public clouds.

Vitastor supports QEMU, NBD, NFS protocols, OpenStack, OpenNebula, Proxmox, Kubernetes drivers. More drivers may be created easily.

Read more details in the documentation. You can start from here: Quick Start.

Talks and presentations

Documentation

Author and License

Copyright (c) Vitaliy Filippov (vitalif [at] yourcmc.ru), 2019+

Join Vitastor Telegram Chat: https://t.me/vitastor

All server-side code (OSD, Monitor and so on) is licensed under the terms of Vitastor Network Public License 1.1 (VNPL 1.1), a copyleft license based on GNU GPLv3.0 with the additional "Network Interaction" clause which requires opensourcing all programs directly or indirectly interacting with Vitastor through a computer network and expressly designed to be used in conjunction with it ("Proxy Programs"). Proxy Programs may be made public not only under the terms of the same license, but also under the terms of any GPL-Compatible Free Software License, as listed by the Free Software Foundation. This is a stricter copyleft license than the Affero GPL.

Please note that VNPL doesn't require you to open the code of proprietary software running inside a VM if it's not specially designed to be used with Vitastor.

Basically, you can't use the software in a proprietary environment to provide its functionality to users without opensourcing all intermediary components standing between the user and Vitastor or purchasing a commercial license from the author 😀.

Client libraries (cluster_client and so on) are dual-licensed under the same VNPL 1.1 and also GNU GPL 2.0 or later to allow for compatibility with GPLed software like QEMU and fio.

You can find the full text of VNPL-1.1 in the file VNPL-1.1.txt. GPL 2.0 is also included in this repository as GPL-2.0.txt.