Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1444

Clean-up any references to CREATE INDEX...USING VIEW

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • tombstone
    • 3.0.0
    • library
    • None
    • 1

    Description

      Views were NOT actually deprecated but there was some confusion in the docs. What was deprecated was CREATE INDEX ... USING VIEW (you can only create an index with N1QL via the optional USING GSI clause since the 6.5 release - which makes USING GSI unnecessary). Somehow, this got misconstrued, and the docs sites were updated for both the server and the SDKs warning that views were deprecated.

      However, we also needed to make sure the SDKs were not making any references to the CREATE INDEX ... USING VIEW features since it is now gone (deprecated in 6.0 and dropped in 6.5).

      Sergey Avseyev discovered that there are still some references to the USING VIEW option in LCB. See related code for reference:
      https://github.com/couchbase/libcouchbase/blob/0c4213b9144507db88e2f3f55c5ae6d3766a7a1a/include/libcouchbase/ixmgmt.h#L97-L102
      https://github.com/couchbase/libcouchbase/blob/0c4213b9144507db88e2f3f55c5ae6d3766a7a1a/include/libcouchbase/ixmgmt.h#L115-L121

      Acceptance Criteria:

      1. Deprecate the use of CREATE INDEX ... USING VIEW anywhere it is referenced in the SDK. If it's only referenced internally, then perhaps we can just clean up the refs.
      2. If we mention support for this option in any LCB documentation or samples, those need to be updated as well.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            ray.cardillo Ray Cardillo
            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