Commit d0404a4d authored by jan.koester's avatar jan.koester
Browse files

test

parent 1ac44862
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -697,16 +697,6 @@ void client::store(uint64_t group_id, const uint8_t* data, size_t data_len) {
    DBG_LOG("[PARITY] store gid=" << group_id << " data_len=" << data_len
              << " stripes=" << total_stripes << "\n");

    // Remove old blocks for this group before writing new ones.
    // This prevents orphan stripes when data size changes and avoids
    // unbounded tombstone accumulation in the block store file.
    try {
        remove(group_id);
    } catch (...) {
        // Best-effort: if removal fails, store_stripe will overwrite
        // same-index blocks via tombstone+append anyway.
    }

    // Retry once on failure: stale QUIC connections from a previous operation
    // cause the first stripe to fail; resetting connections fixes it.
    for (int attempt = 0; attempt < 2; ++attempt) {