summaryrefslogtreecommitdiff
path: root/core/replica.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/replica.zig')
-rw-r--r--core/replica.zig12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/replica.zig b/core/replica.zig
index 936eb3e4..b37dcdb2 100644
--- a/core/replica.zig
+++ b/core/replica.zig
@@ -608,10 +608,7 @@ pub const Replica = struct {
if (r.t.core) |c| {
const was = Stepping.begin(&r.t, &r.epoch);
// The state it ends on is whole as it is: the copy let go, its
- // put-off frees done. Put back, it would bring back what was
- // freed between steps meanwhile (the shell's rows a draw read
- // again after a delta), which `toConfirmed` drops and this
- // freed again (a held copy across an input of its own, a
+ // put-off frees done (a held copy across an input of its own, a
// rejoin's old replica).
if (r.copy.held) r.copy.release();
c.deinit();
@@ -901,11 +898,6 @@ pub const Replica = struct {
if (!whole) return r.fail("out of memory for a rollback");
// The frame its host drew is of the memory put back: drawn again.
r.moved = true;
- // The rows a terminal was read as are no copy's: what the
- // speculation built was the epoch's, freed with it, and what
- // was there before is of a grid the deltas since moved on
- // from (a rollback never brings a terminal's past back).
- r.core().shell_rows = .{};
}
r.applied = 0;
for (r.since.items) |u| if (tape.replayUnit(&r.t, u)) |why| {
@@ -942,8 +934,6 @@ pub const Replica = struct {
const c = r.core();
if (!r.copy.held) {
const t0 = nowNs();
- // A grid's worth of text the copy would save, and put back stale.
- c.shell_rows.reset(c.gpa);
r.copy.take(&r.epoch, c) catch return false;
r.keepSerials();
rollback.Epoch.select(&r.epoch);