dustin/gomemcached — pull request #9 by mendsley (2013-08-23 18:55:32+00:00)
Title: Return the most up-to-date CAS on success.

Normally CAS isn't checked in the success cases, except when
waiting on data to be persisted. Peviously the library failed
to update the CAS value on success causing WriteUpdate calls with
the Index/Persist flags set to always fail with ErrOverwritten.

These were false errors, as the library was always using the
pre-modification CAS value as input into the observe function
instead of the post-modification CAS value.