update last seen sequence number for a node only if the write to the database was successful
Merge remote-tracking branch 'origin/couchbase' into couchbase