Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-740

expiry should be a time.Duration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0
    • 2.0.0-beta
    • library
    • None
    • 1

    Description

      Based on discussion i.e. lockTime is a duration, and I think expiry throughout the SDK should also use it.

      This affects APIs like

      func (c *Collection) GetAndTouch(id string, expiry uint32, opts *GetAndTouchOptions) (docOut *GetResult, errOut error)
      

      but also replace options, GetResult etc .. so if it is changed the whole code needs to be audited. (not filing another ticket for simplicity)

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty