Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Retry not my vbucket error for optimized sets. SPY-88

Change-Id: I729781636917f80714cf8d9460e4523e876e1258
Reviewed-on: http://review.couchbase.org/16251
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  • Loading branch information...
commit 52274c7668c7ffc70e3507b7b9b0cb0da856eab4 1 parent abcb8b3
Mike Wiederhold mikewied authored ingenthr committed
7 src/main/java/net/spy/memcached/protocol/binary/OptimizedSetImpl.java
... ... @@ -1,6 +1,6 @@
1 1 /**
2 2 * Copyright (C) 2006-2009 Dustin Sallings
3   - * Copyright (C) 2009-2011 Couchbase, Inc.
  3 + * Copyright (C) 2009-2012 Couchbase, Inc.
4 4 *
5 5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 6 * of this software and associated documentation files (the "Software"), to deal
@@ -161,10 +161,7 @@ protected void finishedPayload(byte[] pl) throws IOException {
161 161 OperationCallback cb = callbacks.remove(responseOpaque);
162 162 assert cb != null : "No callback for " + responseOpaque;
163 163 assert errorCode != 0 : "Got no error on a quiet mutation.";
164   - OperationStatus status = getStatusForErrorCode(errorCode, pl);
165   - assert status != null : "Got no status for a quiet mutation error";
166   - cb.receivedStatus(status);
167   - cb.complete();
  164 + super.finishedPayload(pl);
168 165 }
169 166 resetInput();
170 167 }

0 comments on commit 52274c7

Please sign in to comment.
Something went wrong with that request. Please try again.