7.0.0-dev13
Pre-release
Pre-release
·
159 commits
to main
since this release
Added
- Added time-based snapshot scheduling. Snapshots can now be triggered after a configurable wall-clock interval (
snapshots.time_interval) elapses, in addition to the existing transaction-count threshold (snapshots.tx_count). A newsnapshots.min_tx_countoption (default 2) sets the minimum number of transactions required before a time-based snapshot fires. Snapshot timing state is replicated to backups via a newpublic:ccf.internal.snapshot_statusinternal table (#7731). - Added support for endpoints that defer their HTTP response until the submitted transaction reaches a terminal consensus state (committed or invalidated). Endpoint authors can call
set_consensus_committed_function()when installing an endpoint to register a callback that is invoked once the transaction is globally committed or invalidated. The callback receives theccf::TxIDand accf::FinalTxStatus(eitherCommittedorInvalid), and may inspect or modify the response before it is sent. A built-inccf::endpoints::default_respond_on_commit_funcis provided that returns the original response on commit, or an error on invalidation. See the logging sample app (/log/blocking/private) for example usage (#7562).
Fixed
- Fixed the Turin SEV-SNP CPUID mapping used for product detection. (#7748)