• Grzegorz Bizon's avatar
    Use optimistic locking to safely migrate a build trace chunk · 7d9f4319
    Grzegorz Bizon authored
    This commit adds support for using optimistic locking on the database
    level when migrating a build trace chunk to a persistent store. It
    allows us to safely migrate data to the object storage or database while
    avoiding certain race conditions related to chunks migration.
    7d9f4319
build_trace_chunk.rb 7.45 KB