Skip to content

multiple binary caches from independent rebuilds interact badly via binary-caches-v2.sqlite #142

Closed

Description

@mornfall

If I use two independently-rebuilt binary caches, it can happen that the same output path is in both, with different content sha sums. This throws off the binary cache substituter, which in some circumstances can get the sum from one cache, but the file from other, eventually dying with a hash mismatch on the unpacked output path.

The same presumably happens if you switch from one cache to another without nuking the cache file.

Activity

  1. edolstra commented on Feb 9, 2018

    @edolstra
    Member

    I believe this cannot happen anymore with the new substituter architecture.

  2. added a commit that references this issue on Jan 1, 2024
  3. added a commit that references this issue on Jul 25, 2025
  4. added 2 commits that reference this issue on Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions