Skip to content

Commit

Permalink
erge branch 'master' of github.com:delta-io/delta into stack/delta-ba…
Browse files Browse the repository at this point in the history
…ckfill-clone-suite
  • Loading branch information
longvu-db committed Aug 14, 2024
2 parents e343161 + 51ecfe5 commit 1fce03d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ the `cutoffCommit`, because a commit exactly at midnight is an acceptable cutoff
2. Identify the newest checkpoint that is not newer than the `cutOffCommit`. A checkpoint at the `cutOffCommit` is ideal, but an older one will do. Lets call it `cutOffCheckpoint`.
We need to preserve the `cutOffCheckpoint` and all commits after it, because we need them to enable
time travel for commits between `cutOffCheckpoint` and the next available checkpoint.
3. Delete all [delta log entries](#delta-log-entries and [checkpoint files](#checkpoints) before the
3. Delete all [delta log entries](#delta-log-entries) and [checkpoint files](#checkpoints) before the
`cutOffCheckpoint` checkpoint. Also delete all the [log compaction files](#log-compaction-files) having
startVersion <= `cutOffCheckpoint`'s version.
4. Now read all the available [checkpoints](#checkpoints-1) in the _delta_log directory and identify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ trait TransactionExecutionTestMixin {
observer.phases.backfillPhase.entryBarrier.unblock()
}

def unblockCommit(observer: TransactionObserver): Unit = {
observer.phases.commitPhase.entryBarrier.unblock()
observer.phases.backfillPhase.entryBarrier.unblock()
}

def waitForPrecommit(observer: TransactionObserver): Unit =
busyWaitFor(observer.phases.preparePhase.hasEntered, timeout)

Expand Down

0 comments on commit 1fce03d

Please sign in to comment.