Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

PhixFlow always retains the maximum number of active and superseded stream sets in the data, so that no conflicting stream sets will be deleted.


Archive Delete After X DaysKeeping Latest Y StreamSetsAction taken when stream-data-delete task runs
nullnullAll streams sets are retained. 
0nullAll stream sets are deleted.
1nullThe last day of valid steam sets are retained. All earlier stream sets are deleted.
In our example the 2 most recent stream sets will be retained with the 6 older stream sets deleted.
NnullAll stream sets older than N days before the latest valid stream set are deleted.
null0All stream sets are deleted.
null1The most recent valid stream set is retained, all other stream sets are deleted.
nullXThe most recent X valid stream sets are retained, all others stream sets are deleted.
00All stream sets are deleted.
01The most recent valid stream set is retained, all other stream sets are deleted.
10The last day of valid steam sets are retained. All older stream sets are archiveddeleted.
11The last day of valid steam sets are retained regardless of if there are more than 1.
If there are no stream sets in the last day, then the first previous stream set is retained instead.
NX

Retains the maximum number of active stream sets in the data,  such that no conflicting stream sets are deleted.

If N=3 and X=6 then although says only delete stream sets more than 3 days old, we must keep a minimum of 6 stream sets. Hence the oldes 2 stream sets will be deleted and the 6 most recent ones are retained.

If N=3 and X=1 then although X says only retain 1 stream set, we must retain all stream sets less than 3 days old. Hence the 4 oldest stream sets are deleted and the 4 most recent are retained.


...