ChimeraTK / ChimeraTK/DeviceAccess
Improving the DataConsistencyGroup: Example, getLatestConsistentState(), different schemes
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12
- Forks
- 12
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 13
Description
These 3 tasks should not all be part of this ticket. The example depends on #51. For the getLatestConsistentState() function, there must be an idea of how to do this. And adding different schemes to consistency is more for future use. But all tasks must be kept in mind.
-
Example for using the DataConsistencyGroup, maybe also an example for ReadAnyGroup. This depends on "implement push type elements in dummy backend #51"
-
Implement a function getLatestConsistentState: The DataConsistencyGroup should provide means to access the values of the latest consistent state. This cannot be done through the normal buffers of the accessors, since they might already contain newer values (at least with future matching schemes, see below).
-
Different schemes might be added later, in particular as follows: One value is consistent with one "index value" (just a particular process variable, e.g. an event number), if the VersionNumber is greater or equal to the VersionNumber of the index value, but smaller than the one of the next index value. The implementation is not part of this ticket, but it needs to be kept in mind while designing the the structure and interface of the DataConsistencyGroup. It will e.g. require internal buffers for the values.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by separating the three proposed tasks in the DataConsistencyGroup issue and review dependency #51 before considering the example. The issue names getLatestConsistentState() and future matching schemes but provides no file or test entry point. Done would require an agreed scope and design before implementation can be estimated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100