tarantool/tarantool

Add flock option to snapshot daemon

Open

#1.937 geöffnet am 23. Nov. 2016

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Lua (406 Forks)batch import
featuregood first issue

Repository-Metriken

Stars
 (3.633 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 13T 2h) (82 gemergte PRs in 30 T)

Beschreibung

Having a random time offset for snapshotting helps preventing multiple Tarantool instances running on the same machine from writing to disk simultaneously but is often not enough when making a snapshot takes a while. It'd be great if the snapshot daemon had a global flock option to resolve concurrent access to disk. The rationale behind this idea is that it is much cheaper to add more cores or RAM to your server (or you are likely to have it in abundance) than to add physical disks.

Contributor Guide