Skip to content

Commit

Permalink
Fixed a typo when computing vbucketlist size for tap messages.
Browse files Browse the repository at this point in the history
Change-Id: I2e3807f976363e8b8bd985e9b6faa283875ed7f1
Reviewed-on: http://review.couchbase.org/10294
Tested-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  • Loading branch information
Mike Wiederhold authored and ingenthr committed Oct 22, 2011
1 parent 1a0a992 commit 1675bdb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -104,7 +104,7 @@ public void setBackfill(long date) {
public void setVbucketlist(short[] vbs) {
int oldSize = (vblist.length + 1) * 2;
int newSize = (vbs.length + 1) * 2;
totalbody = +newSize - oldSize;
totalbody += newSize - oldSize;
vblist = vbs;
}

Expand Down

0 comments on commit 1675bdb

Please sign in to comment.