Retrofit compact() into DOMStore

Description

Extend DOMStore and DOMStoreTransactionChain contract with compaction awareness. This means defining this method:

default DOMStoreThreePhaseCommitCohort compact(YangInstanceIdentifier path) { return newWriteOnlyTransaction().ready(); }

in both of these interfaces. The method needs to be documented with exact semantics (see MDSAL-848 for details) with guidance that DOMStore implementations should implement it.

This task should be followed-up with making this method non-default, hence mandatory-to-implement.

Activity

Show:

Details

Assignee

Reporter

Components

Priority

Created March 11, 2024 at 7:13 PM
Updated March 12, 2024 at 2:43 PM