Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Oct 27, 2023
1 parent 17e281e commit d418add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClusterOperator/Operator.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class Operator {
this.lastBufferSeqNo = sequenceNumber;
if (this.buffer[BackLog.sequenceNumber + 1] === undefined && missingQueryBuffer.get(BackLog.sequenceNumber + 1) !== true) {
let i = 1;
while (this.buffer[BackLog.sequenceNumber + 1] !== undefined && i < 5) {
while (this.buffer[BackLog.sequenceNumber + 1] === undefined && i < 5) {
if (missingQueryBuffer.get(BackLog.sequenceNumber + i) !== true) {
log.info(`missing seqNo ${BackLog.sequenceNumber + i}, asking master to resend`, 'magenta');
missingQueryBuffer.put(BackLog.sequenceNumber + i, true, 10000);
Expand Down

0 comments on commit d418add

Please sign in to comment.