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

Collections: uid_t can be ambiguous - rename it

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 6.5.0
    • master
    • couchbase-bucket
    • None

    Description

      We have Collections::uid_t defined but if you're not careful and forget to include collection-types.h you can end up with uid_t from system headers (which is a different size)

      There was a horrible bug where two compile units end up with different class-defs for Vbucket::Filter leading to very strange errors.

      Renaming Collections::uid_t

      Attachments

        For Gerrit Dashboard: MB-31311
        # Subject Branch Project Status CR V

        Activity

          People

            jwalker Jim Walker
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty