[SPY-58] JSON documents can be inadvertently compressed Created: 05/Oct/11  Updated: 20/Oct/11  Resolved: 20/Oct/11

Status: Resolved
Project: Spymemcached Java Client
Component/s: library
Affects Version/s: 2.8.0-dp2
Fix Version/s: 2.8.0-dp3
Security Level: Public

Type: Bug Priority: Blocker
Reporter: Matt Ingenthron Assignee: Mike Wiederhold
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
By default, spymemcached will compress everything. This will probably cause some confusion with views on the server.

When using the CouchbaseClient, or maybe all the time, we should check for JSON in the payload (if the first character is { or [ is a cheap check) and avoid compressing the data.
Generated at Tue Jul 29 03:49:28 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.