# feat\(netflow-db\): add a consuming merge mode that bounds peak disk · flambo/atlantis

[View on GitCafe](https://git.cafe/flambo/atlantis/commit/1bb81c5b31f7f5fe0d0e7f9ce25e0e8a41250747)

Repository: [flambo/atlantis](https://git.cafe/flambo/atlantis)

Visibility: public

Requested revision: 1bb81c5b31f7f5fe0d0e7f9ce25e0e8a41250747

Requested commit: 1bb81c5b31f7f5fe0d0e7f9ce25e0e8a41250747

Commit: 1bb81c5b31f7f5fe0d0e7f9ce25e0e8a41250747

Tree: 7bc2c73c91f89ba8f1e5762e62e53dff6b129766

Author: flamboh

Committer: flamboh

## Message

```
feat(netflow-db): add a consuming merge mode that bounds peak disk

merge-shards --consume validates every shard first, moves the first
shard into the temporary output, and deletes each other shard once its
rows are durably committed. A failure keeps the partial product and
names the consumed shards and the resume command.

```

## Parents

- [9dc43a9466b76dfcfa32065b53ab4df9a57ad28d](https://git.cafe/flambo/atlantis/commit/9dc43a9466b76dfcfa32065b53ab4df9a57ad28d?format=markdown)

[Source at this commit](https://git.cafe/flambo/atlantis/tree/1bb81c5b31f7f5fe0d0e7f9ce25e0e8a41250747?format=markdown)
