getdozer / getdozer/dozer

Snapshotting start/end notifications

Open
#1,400 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Rust
Stars
1.6k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

## Notify processor of snapshotting start/end:
```
fn on_source_snapshotting_started(
&mut self,
fw: &mut dyn ProcessorChannelForwarder,
) -> Result<(), ExecutionError>;
fn on_source_snapshotting_done(
&mut self,
fw: &mut dyn ProcessorChannelForwarder,
) -> Result<(), ExecutionError>;
```
*We must pass `ProcessorChannelForwarder` in the processor case, so processor can take action and decide to flush all pending
operations before exiting the method*

## Notify sinks of snapshotting start
```
fn on_source_snapshotting_started(
&mut self
) -> Result<(), ExecutionError>;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.