Skip to content

Commit a910a22

Browse files
authored
fix(member.unpack): fix payload position (#62)
Commit 7021e9f refactored members.unpack function but introduced a typo with the position of the payload in the array that forced payload to be ignored. Such bug broke anti_entropy step, forcing incarnation to be updated and payload to be ignored, making instances view of each other inconsistent. Closes #61
1 parent cbdd0b3 commit a910a22

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- Invalid payload parsing in anti entropy step.
12+
913
## [2.4.3] - 2024-01-29
1014

1115
### Fixed

membership/members.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ end
5555

5656
function members.unpack(member)
5757
checks('table')
58-
local payload = member[3]
58+
local payload = member[4]
5959
if payload == msgpack.NULL
6060
or type(payload) ~= 'table'
6161
then

0 commit comments

Comments
 (0)