Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Usage of checkpointLock provides the following warranties

  • 1 begin checkpoint, and 0 updates (tx'es commitno transactions commit()s) running or
  • 0 begin checkpoint and N updates (tx committransactions commit()s) running

Checkpoint begin does not wait transactions to finish. That means a transaction may start before a checkpoint , but the transaction will be committed after the checkpoint end ends or during its run.

Dirty The durable memory maintains dirty pages is set, when . When a page from non-dirty becomes dirty, it this page is added to this set.

Collection of pages (GridCacheDatabaseSharedManager.Checkpoint#cpPages) allows us to collect and then write is a snapshot of dirty pages at checkpoint start. This collection allows writing pages which were changed since last the last checkpoint.

Checkpoint Pool

...