8000 LCI was not properly deserialized and thus the coordinator did not di… · arangodb/arangodb@60802cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 60802cf

Browse files
author
Lars Maier
authored
LCI was not properly deserialized and thus the coordinator did not display the forwarded LogStatus correctly. (#14861)
1 parent 2feac3f commit 60802cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arangod/Replication2/ReplicatedLog/LogStatus.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ auto LeaderStatus::fromVelocyPack(velocypack::Slice slice) -> LeaderStatus {
8888
LeaderStatus status;
8989
status.term = slice.get(StaticStrings::Term).extract<LogTerm>();
9090
status.local = LogStatistics::fromVelocyPack(slice.get("local"));
91+
status.largestCommonIndex = slice.get("largestCommonIndex").extract<LogIndex>();
9192
status.commitLagMS = std::chrono:: 4402 duration<double, std::milli>{
9293
slice.get("commitLagMS").extract<double>()};
9394
for (auto [key, value] : VPackObjectIterator(slice.get(StaticStrings::Follower))) {

0 commit comments

Comments
 (0)
0