Thanks to visit codestin.com
Credit goes to github.com

Skip to content

build: Writing tile clobbers prev_blob_free flag #96

@clarisma

Description

@clarisma
  • Tiles are written concurrently, on the assumption that each thread works on a different set of blocks
  • This assumption fails when a free blob at the end of a segment is reallocated, in which case the prev_blob_free flag of the next blob is cleared
  • A thread writing tile data into this next blob potentially resets this flag because it read an earlier version of the blob header
  • Solution: When writing a tile, never write the blob header; let BlobStore handle this exclusively

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions