Aerospike - Read (with ALL consistency) when one replica down

TL DR
If the node replica goes down and a new partition map is not yet available, will it be read with the consistency level = ALL fail?

Example:

Given the Aerospike cluster setting:
- 3 physical nodes: A, B, C
- Replicas = 2
- Read Consistency Level = ALL (reads consult the nodes containing the data)

And this sequence of events:
- Part of the "DAT" data is stored in two nodes: A and B
- node B goes down.
- Immediately after B is omitted, a read request ("request 1") is executed with ALL negotiation.
- After ~ 1 second, a new partition map is created. Now the cluster realizes that B is gone.
- "DAT" is now replicated in node C (to save replicas = 2).
- Another read request ("request 2") is executed with the approval of ALL.

It is reasonable to say that "request 2" will be successful.

" 1" ? :
a) , , node ?
b) , node , 1 "DAT" .

+4
1

1 2 . : https://discuss.aerospike.com/t/understanding-consistency-level-overrides/711.

/ , , . , / node .

  • , A, B, C, A , B - 1.
  • , B , C 1. 1 .
  • B . 1 B A C.
  • node A 1, 2 . A B ( ).

  • , 1 A - , B - replica C .
  • node A. 1, node A node B.
+4

Source: https://habr.com/ru/post/1610868/


All Articles