[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow parallelism in input/regression/lilypond-book/ (issue 54768004
From: |
hanwenn |
Subject: |
Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden) |
Date: |
Sun, 23 Feb 2020 02:29:53 -0800 |
On 2020/02/23 10:04:46, hanwenn wrote:
> On 2020/02/23 09:49:24, dak wrote:
> > Stupid question: does the database design of lilypond-book even
allow for
> > uncoordinated parallel runs?
>
> It's not a stupid question; it's a good question.
>
> Writing files atomically (open temp file, write, close, rename), seems
a lot of
> work.
>
> I've considered adding an advisory lock on the DB directory. Since we
max out
> CPUs when we run lp-book, it shouldn't slow down things, but I was
worried about
> doing file locks cross-platform.
>
> Maybe I can do flock(1), which at least lets limit the worry to OSX
vs. Linux.
to answer your original question: I think the \sourcefileline statements
can differ between snippets written from different lp-book instances,
and this can trigger a consistency check failure.
https://codereview.appspot.com/547680043/
- Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), dak, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), hanwenn, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden),
hanwenn <=
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), dak, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Han-Wen Nienhuys, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), David Kastrup, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Dan Eble, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Han-Wen Nienhuys, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Dan Eble, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Han-Wen Nienhuys, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), David Kastrup, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), Dan Eble, 2020/02/23
- Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden), David Kastrup, 2020/02/23