Skip to content

Commit

Permalink
Merge pull request #3122 from nickanderson/ENT-10903/master
Browse files Browse the repository at this point in the history
ENT-10903: Improved notes about lock purging
  • Loading branch information
nickanderson authored Nov 22, 2023
2 parents 339e392 + f47b756 commit e6b0898
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,12 @@ bundle agent __main__
}
```

Note: Promise locks are ignored when CFEngine is run with the `--no-lock` or
`-K` option, e.g. a common **manual** execution of the agent, `cf-agent -KI`
would not respect promises that are locked from a recent execution. Furthermore,
locks are purged in order to maintain the integrity and health of the underlying
lock database.
**Note:**

* Promise locks are ignored when CFEngine is run with the `--no-lock` or `-K`
option, e.g. a common **manual** execution of the agent, `cf-agent -KI` would
not respect promises that are locked from a recent execution.
* Locks are purged based on database utilization and age in order to maintain
the integrity and health of the underlying lock database.

**See also:** [cf_lock.lmdb][CFEngine directory structure#state/cf_lock.lmdb]

0 comments on commit e6b0898

Please sign in to comment.