getdozer / getdozer/dozer

Cache should decide when to commit on its own

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

Description

**Is your feature request related to a problem? Please describe.**
Now cache still commits upon receiving `Commit` message from `EpochManager`, but the pipeline has nothing to commit and the `EpochManager` should be removed.

The indexing threads only commits when indexing is done, which is not good.

**Describe the solution you'd like**
Cache main db and indexing db generates decide when to commit on its own using number of operations processed and timeout.

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.