Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

2.8-preview3

@ingenthr ingenthr tagged this 23 Oct 23:36
This update includes a number of merged in bugfixes from the
current release (2.7.3) and other bugfixes.

Also updated in DP2, we made all ViewResponse classes
(ViewResponseWithDocs, ViewResponseNoDocs, ViewResponseReduced) implement
ViewResponse and all classes contain the same functions.

What this means to you is that developers only need to be aware of the
ViewResponse class.

We also consolidated the Row classes and renamed them. All of the row
classes now implement ViewRow and contain all of the Row classes contain
the same functions. This means that you only have to deal with one type,
ViewRow, when dealing with rows.

For example:

Query query = new Query();
query.setRange("a", "m");
query.setDescending(false);
query.setIncludeDocs(true);

HttpFuture<ViewResponse> result = client.asyncQuery(view, query);

ViewResponse response;
try {
  response = result.get();
} catch (ExecutionException e) {
  e.printStackTrace();
  continue;
}

Iterator<ViewRow> itr = response.iterator();

while(itr.hasNext()) {
  ViewRow row = itr.next();
  String doc = (String)row.getDoc();
  System.out.println(doc);
}

The majority of contributions to this release were funded by
Couchbase, Inc.  Thanks to the contributors:

Mike Wiederhold (44):
      Operations can't timeout when writing to the write buffer.
      SPY-125: Significant performance issue large number of sets
      Improved performance of write queue processing during timeouts
      Add support for commons-codec 1.3, 1.4, and 1.5
      Remove assertions that assert a completed op isn't timed out
      SPY-49: BaseSerializingTranscoder does not close resources.
      Removed unused variables in GetOperationImpl
      Merge branch 'refresh'
      Change getBytes() to getData() in CASOperation
      SPY-39: Added toString() to operation heirarchy
      Added toString() functions to ConnectionFactory classes.
      SPY-47: Client object should have toString().
      SPY-50: Set viewmode programatically
      SPY-54: getBulk() shouldn't log a warning when a key is not found
      Send an ack for all tap opaque messages
      Merge branch 'refresh'
      Fixed test failure issue in testIPv6Host() in AddrUtilTest
      Added function to get number of vBuckets to MembaseClient
      Operations statuses on errors are now handled by the operation
      Deleted files that accidentally got included in the last merge
      Made cmd variable a byte for binary operations
      Merge branch 'refresh'
      Fixed ASCII getl issue.
      Removed a print line statement from TestConfig
      Removed extra variables in tapCustom header
      Flush the PrintWriter in TapMessagePrinter
      Merge "Merge branch 'refresh'"
      Don't reconnect when a tap connection finishes.
      SPY-26: Add Getl Tests
      Added a docsjar target
      Made package the default target and made it build all jars
      Install javadocs java into local maven when doing ant mvn-install
      The jar target now builds a jar of all of the test classes
      Made vbmap in MultiKey operation synchronized
      Updated README.markdown to reflect the new build file
      SPY-37 & SPY-38: Fixed redistribution performance issue
      Recognize a query is using a json object and don't quote it
      Refactored tap message classes.
      SPY-48: Incr/Decr param "by" should be able to take a long
      Fixed checkstyle issues from merge with refresh
      SPY-4: Get CouchDB config info from config
      Fixed testOverflowing ReadQueue in QueueOverflowTest
      Fixed a typo when computing vbucketlist size for tap messages.
      SPY-58: Don't compress json objects

Matt Ingenthron (11):
      Log warnings when retrying due to not my vbucket.
      Update commons-codec to 1.5 in .classpath for Eclipse.
      No need for old debugging string in test.
      Revert "SPY-37 & SPY-38: Fixed redistribution performance issue"
      Continue to other URIs if one in the list is down. SPY-60.
      Merge branch 'refresh'
      Rename and fix VBucketMemcachedClientTest to VBucketMembaseClientTest.
      Skip all ConfigurationProvider tests when testing against memcached.
      Update to Netty 3.2.0.Final.
      Update maven pom generation with more detail.
      Update maven dependencies and metadata for more completion and accuracy.

Daniel Martin (2):
      Fix concurrent access to operations objects, especially near timeouts
      Use direct buffers in TCPMemcachedNodeImpl

Dustin Sallings (2):
      Merge "Merge branch 'refresh'"
      Format the readme correctly.

Martin Grotzke (1):
      Add compatibility with netty 3.2.0+.

Paul Burnstein (1):
      Spymemcached Issue 134: Performance fix

sanada0670 (1):
      SPY-51: Bug in OperationImpl's decodeLong(2)
Assets 2
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.