tarantool / tarantool/doc

clarify snapshot scheduler randomization logic

Open
#1,284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add details backup reference server
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.