clarify snapshot scheduler randomization logic
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
right now there is no information about randomization in snapshot scheduling process.
i think that documentation should be extended
it's not clear that snapshot interval can be multiplied twice by randomization logic.
https://github.com/tarantool/tarantool/blob/master/src/box/checkpoint_schedule.c#L50
on manual snapshot next checkpoint is also rescheduled using randomize
https://github.com/tarantool/tarantool/issues/4432
Contributor guide
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 with src/box/checkpoint_schedule.c around line 50 and read issue 4432 to understand the snapshot rescheduling paths. Update the relevant documentation so it explains both randomization applications, including manual snapshot rescheduling; done means the interval behavior is explicit and unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100