async-raft/async-raft

Add dedicated integration test for lagging->line-rate recovery under load

Ouverte

#63 ouverte le 17 août 2020

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (85 forks)auto 404
enhancementgood first issuetests

Métriques du dépôt

Stars
 (1 092 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Here is a rough idea of what this test should do:

  • It should be quite similar to the other tests which are currently in place.
  • It should isolate a follower node, write a data to the cluster which will cause that node to fall behind into lagging state, but not into snapshotting state.
  • It should then spawn a task which will continue to write data to the cluster.
  • Just after it is spawned, the test should remove the isolated node from isolation should that it can begin the lagging state recovery process.
  • The spawned client should be instructed to stop after a few seconds, and then the test should assert that the lagging node has caught up and has the expected state.

Guide contributeur