git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: repo consistency under crashes and power failures?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 15, 2013, 17:51 UTC
Message-ID
<20130715175142.GC14690@google.com>
In-Reply-To
<rmiy597iujc.fsf@fnord.ir.bbn.com>
Greg Troxel wrote:
> Alternatively, is there somewhere a first-principles analysis vs POSIX
> specs (such as fsyncing object files before updating refs to point to
> them, which I realize has performance negatives)?

You might be interested in the 'core.fsyncobjectfiles' setting. git-config(1) has details.

Thanks and hope that helps, Jonathan

Previous: Greg TroxelNext: Johannes Sixt
Message 2 of 4 in “repo consistency under crashes and power failures?”
  1. Greg TroxelJul 15, 2013
  2. Jonathan NiederJul 15, 2013
  3. Johannes SixtJul 16, 2013
  4. Jeff KingJul 27, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.