Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index files aren't sync'd when user calls plfs_sync #349

Open
brettkettering opened this issue Apr 9, 2014 · 2 comments
Open

Index files aren't sync'd when user calls plfs_sync #349

brettkettering opened this issue Apr 9, 2014 · 2 comments
Labels

Comments

@brettkettering
Copy link
Contributor

John Bent noted that it was his understanding that index files aren't getting sync'd when user calls plfs_sync. Everything needs to be synced to storage on plfs_sync, not just data.

@johnbent
Copy link
Member

johnbent commented Apr 9, 2014

Michael Kukat first noticed this and is interested in this.

On Apr 9, 2014, at 10:53 AM, Brett Kettering notifications@github.com wrote:

John Bent noted that it was his understanding that index files aren't getting sync'd when user calls plfs_sync. Everything needs to be synced to storage on plfs_sync, not just data.


Reply to this email directly or view it on GitHub.

@johnbent
Copy link
Member

johnbent commented Apr 9, 2014

Hi,

i had a quick look into the sources and it looks like the index files
should also be flushed&synced, so i'm not 100% sure if there really is
an issue in 2.5. At least the same test (crashing one node during
writing to a shared file with known sync intervals, so the other node
can take over a at a safe position before where the crashed one left)
worked fine with 2.3.
Didn't perform enough test runs with 2.3 for good statistics, but for
2.5, i had 2 or 3 runs and the index files of the crashed node always
were 0 bytes afterwards, the file was not readable.

...Michael

Am 09.04.2014 17:15, schrieb John Bent:

Michael Kukat first noticed this and is interested in this.

On Apr 9, 2014, at 10:53 AM, Brett Kettering <notifications@github.com
mailto:notifications@github.com> wrote:

John Bent noted that it was his understanding that index files aren't
getting sync'd when user calls plfs_sync. Everything needs to be
synced to storage on plfs_sync, not just data.


Reply to this email directly or view it on GitHub
#349.

signature german Mit freundlichen Grüßen

Michael Kukat
Senior Software Developer

GRAU DATA AG
Marie-Curie-Str. 19
73529 Schwäbisch Gmünd

E-Mail: Michael.Kukat@graudata.com mailto:michael.kukat@graudata.com
Tel.: +49 7171 187-0
Fax: +49 7171 187-250

GRAU DATA - YOU DATA, YOUR CONTROL

Amtsgericht ULM: HRB 701807; USt-ID-Nr.: DE210200743; Vorstand: Herbert
Grau, CTO Ulrich Lechner; Aufsichtsratsvorsitzender: Friedhelm Steinhilber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants