page1
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
PUT F=
...
...
...
...
...
...
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
PUT F=
...
...
PUT C=7
PUT D=1
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
PUT F=
...
...
PUT C=7
PUT D=1
COMMIT
BORG_SEG
PUT A=1
PUT B=2
PUT C=5
PUT F=
Segment 1
BORG_SEG
DEL A
PUT C=7
PUT D=1
COMMIT
Segment 2
BORG_SEG
Segment 3
PUT B=2
PUT F=
...
...
PUT C=7
PUT D=1
COMMIT
Client wrote data
Begin new segment for compacted data.
Omit A.
Write B to new segment
Omit this C (superseded)
Write F and following to new segment
Write C, D to new segment
Delete compacted segments