Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[Spike] Datastore level ExecutionLog groupings (Timebox: 3 day) #1023

Open
seanpreston opened this issue Aug 2, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@seanpreston
Copy link
Contributor

seanpreston commented Aug 2, 2022

Right now the execution logs only express collection level groupings of logs. What would it take to report execution logs at a datastore level?

For example, if the UI wanted to show all execution logs on a specific datastore, when they started and stopped.

How will we know when the datastore has stopped processing (when we've hit all nodes for that datastore in the traversal)

@seanpreston seanpreston changed the title Datastore level ExecutionLog groupings [Spike] Datastore level ExecutionLog groupings Aug 2, 2022
@seanpreston seanpreston added the enhancement New feature or request label Aug 3, 2022
@adriaaaa adriaaaa changed the title [Spike] Datastore level ExecutionLog groupings [Spike] Datastore level ExecutionLog groupings (Timebox: 1 day) Aug 3, 2022
@adriaaaa adriaaaa changed the title [Spike] Datastore level ExecutionLog groupings (Timebox: 1 day) [Spike] Datastore level ExecutionLog groupings (Timebox: 3 day) Aug 3, 2022
@pattisdr
Copy link
Contributor

pattisdr commented Aug 3, 2022

Re: How will we know when the datastore has stopped processing?

From a high level, we have the information to deduce whether a datastore is complete, provided the graph hasn't changed in the interim. We temporarily store a representation of the entire access graph, as well as which collections have been visited for an access graph, and which collections have been erased in the erasure "graph".

While Fidesops has a current definition of when it has decided a datastore is "done", it is a little complicated when new collections are added. A datastore may be "done", and then the request fails on a collection in a different datastore, and in the interim, a collection is added to the datastore, making it no longer "done".

The definition of "done" may change as a result of #1036 too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants