Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-4829

Endian conversion issue for flags edited from Web UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0-beta
    • 2.0-developer-preview-3
    • UI
    • Security Level: Public
    • None

    Description

      http://www.couchbase.com/forums/thread/flags-modified-editing-document-web-ui

      When editing a document from the "web ui", the flags are shifted by 2 bit positions to the left.
      Edits using the memcached protocol don't appear to affect the flags (as expected since they should be opaque). To be fair, this is probably because the transcoder I'm using is setting the flags again.
      This throws off our serialization code since we use the flags to encode data about the version and class of the serialized JSON document.
      Note: Editing it a second time seems to reset the flags back properly?
      Alan

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            damien damien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty