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

expiry should be a time.Duration

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta
    • 2.0.0
    • 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

          daschl Michael Nitschinger created issue -
          brett19 Brett Lawson made changes -
          Field Original Value New Value
          Status New [ 10003 ] Open [ 1 ]
          brett19 Brett Lawson made changes -
          Affects Version/s 2.0.0-beta [ 16326 ]
          brett19 Brett Lawson made changes -
          Component/s library [ 11912 ]
          brett19 Brett Lawson made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          brett19 Brett Lawson made changes -
          Story Points 1

          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