Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-775

Migrate collection attributes to use timedelta for durations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.0.0-rc
    • 3.0.0-beta.3
    • None
    • None
    • 1
    • SDK9: Coll/Txn/Doc chipping

    Description

      The SDK2 Bucket attributes, such as Client.timeout, Client.views_timeout, Client.compression, tracing settings, etc are now couchbase_core.client.Client attributes.

      Note that these settings are per LCB instance so currently that is per Collection, but after we start sharing instances it will be per Bucket. If one adds the converson from timedelta to 'float in seconds' at the couchbase_core.client.Client level then that should be relatively future-proof in this respect, although we will still need to rework the Bucket class to expose the properties on the relevant Bucket instance.

       

      Also update migration guide/other docs.

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            Ellis.Breen Ellis Breen
            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