|
@@ -176,7 +176,7 @@ func NewServer(name string, path string, transporter Transporter, stateMachine S
|
|
|
return c.Apply(&context{
|
|
return c.Apply(&context{
|
|
|
server: s,
|
|
server: s,
|
|
|
currentTerm: s.currentTerm,
|
|
currentTerm: s.currentTerm,
|
|
|
- currentIndex: s.log.currentIndex(),
|
|
|
|
|
|
|
+ currentIndex: s.log.internalCurrentIndex(),
|
|
|
commitIndex: s.log.commitIndex,
|
|
commitIndex: s.log.commitIndex,
|
|
|
})
|
|
})
|
|
|
case deprecatedCommandApply:
|
|
case deprecatedCommandApply:
|