• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 12082606827
88%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2024 10:13AM UTC
Jobs 1
Files 518
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Nov 2024 09:54AM UTC coverage: 87.342% (+0.02%) from 87.326%
12082606827

push

github

locker
replication: add changelog and doc for WAL GC of anon replicas

Closes #10755

NO_TEST=no behavior changes

@TarantoolBot document
Title: WAL GC of anonymous replicas
Since: 3.3

Now anonymous replicas retain required xlogs just as regular ones.

Since anonymous replicas can suddenly disappear, a new function
`box.ctl.replica_gc(uuid)` is introduced. It has an only argument,
UUID of replica that must be a string. If the replica is connected right
now or there is no known replica with such UUID, an error is thrown.
The function can be used to cleanup state of a replica that is gone for
a while: it removes WAL GC state of the given replica and deletes it if it
is anonymous. Regular replicas are not evicted from the cluster. By the
way, there is a function `box.info.replication_anon()` that can be used
to list all anonymous replicas so one can deactivate them with the newly
introduced function - we should mention it somewhere around.

Also, anonymous replicas are deactivated automatically if they haven't
been in touch for too long. Expiration timeout can be controlled by the
new `box.cfg.replication_anon_ttl` option, the default value is
3600 seconds (1 hour).

IPROTO protocol updates:
1. IPROTO_FETCH_SNAPSHOT - is populated with optional
   `IPROTO_INSTANCE_UUID` key. If it is passed, sender is considered as
   a replica and its WAL GC state is registered. If the key is not
   passed, behavior is the same as before.
2. IPROTO_SUBSCRIBE - now WAL GC state is unconditionally created for a
   sender, either anonymous or regular.

69570 of 123440 branches covered (56.36%)

102551 of 117413 relevant lines covered (87.34%)

2883169.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12082606827.1 29 Nov 2024 10:13AM UTC 0
87.34
GitHub Action Run
Source Files on build 12082606827
Detailed source file information is not available for this build.
  • Back to Repo
  • d26f574f on github
  • Prev Build on master (#12078228676)
  • Next Build on master (#12085763873)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc