Commit Graph

855 Commits (a8f5c71ae8463b3a64ab7884675e23b555dbb06e)
 

Author SHA1 Message Date
Vitaliy Filippov a8f5c71ae8 Use the same etcd address selection algorithm in the monitor 2 years ago
Vitaliy Filippov ce5b6253ab Make OSDs stick to the last successful etcd address
Previously OSDs were selecting a new random etcd from the cluster
on every request so they were failing randomly when part of etcds was down
2 years ago
Vitaliy Filippov 8398ad0117 Fix #36 - Fix old version data sometimes overriding new version data
Reproduction case:
- v3 = (offset 4kb, length 16kb)
- v2 = (offset 24kb, length 16kb)
- v1 = (offset 16kb, length 16kb)
- At the third step it was inserting 16..24kb instead of 20..24kb
2 years ago
Vitaliy Filippov fea451b4db Prefer local etcd in OSD 2 years ago
Vitaliy Filippov 6e12aca53b Remove the total PG count restriction in optimize_change which was leading to unfeasible problems sometimes 2 years ago
Vitaliy Filippov 8b007d531f
Merge pull request #33 from moly7x/fix-TypeError
Fixed TypeError
2 years ago
Vitaliy Filippov 7b7f20fb89
Merge pull request #34 from mirrorll/master
report pg state failed
2 years ago
Vitaliy Filippov 300d507026 Fix capture of out in alloc_osd 2 years ago
harley 6886171289
report pg state failed
after report pg state failed parse response error
2 years ago
Vitaliy Filippov 43f8ea47a0 Ok, something is not allowed somewhere in C99 2 years ago
Vitaliy Filippov 6e0e172e15 Implement OSD address selection from a specified subnet 2 years ago
Vitaliy Filippov 655a2c871d Move make-osd.sh into vitastor-client package 2 years ago
Vitaliy Filippov 879fe9b2b4 Add a patch for qemu 6.1 and replace _ with - in qemu options 2 years ago
Vitaliy Filippov 660c3f7b0d Change default RDMA settings to 128x 129K buffers
129K to leave extra space for the header

The problem with 8x 1M buffers is that the following happens with,
for example, 2 OSDs and 4M T1Q1 write:
- Server posts 8 receives
- Client posts 8 sends
- WRs are processed by the RDMA stack, but the OSD doesn't have the time
  to handle them and doesn't refill buffers
- Client posts 1 more send
- RNR retransmission happens and performance drops to zero

Overall it seems that RDMA support should be reworked to use real 'RDMA'
operations i.e. operations writing into remote memory. This has an
additional advantage of avoiding a copy at the receive side of the OSD.
2 years ago
Vitaliy Filippov f0ebfae3b8 Fix vitastor-cli alloc-osd, use vitastor-cli in make-osd.sh 2 years ago
Vitaliy Filippov eb7ad2c114 Fix empty size syntax, use C version of simple-offsets in tests 2 years ago
Tân Lê b4235b4edf
Fixed TypeError
Fix `TypeError: Argument must be bytes or unicode, got 'int'` in nova-compute.
2 years ago
Vitaliy Filippov cd21ff0b6a Rewrite simple-offsets.js in C/C++ 2 years ago
Vitaliy Filippov d3903f039c Implement alloc-osd (allocate a new OSD number) command 2 years ago
Vitaliy Filippov 66fe1a469b Additionally balance parity chunks over OSDs using round-robin when generating initial distribution 2 years ago
Vitaliy Filippov 24409bd4c4 Oops # 2. Fix vitastor-cli create broken due to json11 :D 2 years ago
Vitaliy Filippov c5029961ea Oops. Fix vitastor-cli ls 2 years ago
Vitaliy Filippov 1ca1143d4a Add fio_version and qemu_version variable example files back 2 years ago
Vitaliy Filippov 920345f7b6 Release 0.6.8
- Build separate packages for OSD, monitor, client, C header, fio and QEMU drivers
  instead of one package which included everything
2 years ago
Vitaliy Filippov 75b47a6298 Generate pkg-config file 2 years ago
Vitaliy Filippov 6e446653ae Include README 2 years ago
Vitaliy Filippov e51edf2542 Split into multiple rpm packages 2 years ago
Vitaliy Filippov ce170af91f Split into multiple Debian packages 2 years ago
Vitaliy Filippov 7eabc364bf Release 0.6.7
- Implement CLI commands for listing, viewing I/O statistics, creating,
  snapshotting, cloning, resizing and modifying images. All these operations
  are covered by 3 commands: ls, create, modify
- Implement an important fix to prior OSD set tracking for PGs. The previous
  version had an issue which could lead to data loss due to an OSD with older
  copy of the data thinking it has the newest copy
- Fix I/O statistics aggregation in the monitor
- Several minor fixes for Cinder driver
- Fix QEMU driver to be compatible with QEMU 2.x > 2.0
- Fix stalls sometimes possible in configurations without immediate_commit due
  to insufficient amount of automatic internal fsync operations
- Add `vita` alias for `vitastor-cli`
2 years ago
Vitaliy Filippov a346f84c69 Allow to show only specific images in listing 2 years ago
Vitaliy Filippov 71a0c1a7b9 Fix list sorting 2 years ago
Vitaliy Filippov 20e86c7d84 Note about vitastor-cli 2 years ago
Vitaliy Filippov 110b39900b Rename the new "set" command to "modify" 2 years ago
Vitaliy Filippov 697ee30a26 Add ARG REL into build Dockerfiles 2 years ago
Vitaliy Filippov 42479b4590 Fix vitastor-nbd list, add ls alias 2 years ago
Vitaliy Filippov 6e82044e84 Add `vita` symlink 2 years ago
Vitaliy Filippov 2cb3e84882 Implement CLI set (resize, change readonly status) command 2 years ago
Vitaliy Filippov 32614c5bc8 Add a test for the last change ("split-brain avoidance", lol) 2 years ago
Vitaliy Filippov aa436027c8 Report pg/history from OSD on every degraded activation
Required to prevent data loss due to activation of an OSD with older data
when PG OSD set change doesn't occur. I.e. fixes the simplest case:
- Run 2 OSDs with 1 PG
- Start writing into the PG
- Stop OSD 2
- Stop OSD 1
- Start OSD 2

After this change the PG will refuse to start after the last step.
2 years ago
Vitaliy Filippov 577a563b91 Allow to disable colored output 2 years ago
Vitaliy Filippov e4efa2c08a Improve vitastor-cli ls - show I/O statistics, allow to sort & limit output 2 years ago
Vitaliy Filippov 0f3f0a9d29 Calculate average statistics in mon, remove buggy "fix_stat_overflows" 2 years ago
Vitaliy Filippov 0544a16f95
Merge pull request #30 from moly7x/moly7x-fix-No-weighed-backend-found
Fix No weighed backend found
2 years ago
Tân Lê 30d8930958
Revert spacing in comment 2 years ago
Tân Lê baf003fbd3
Revert newline in comment 2 years ago
Tân Lê ba39a38dc4
Fix No weighed backend found 2 years ago
Vitaliy Filippov d528cd77f1 Fix install_symlink 2 years ago
Vitaliy Filippov 6e6f407df3 Simplify & fix monitor stats aggregation 2 years ago
Vitaliy Filippov 4d43774cbb Use 5s etcd_report_interval by default 2 years ago
Vitaliy Filippov a1488f7217 Fix qemu_driver to build with QEMU 2.x (previously it was only correct for QEMU 2.0) 2 years ago