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

Documentation about lcb_durability_opts_st

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.4.4
    • None
    • docs
    • Security Level: Public
    • None

    Description

      The documentation for the lcb_durability_opts_st structure at this address: http://docs.couchbase.com/sdk-api/couchbase-c-client-2.4.3/group___l_c_b___e_n_d_u_r_e.html#structlcb___d_u_r_a_b_i_l_i_t_y_o_p_t_sv0

      provides information on the different parameters of the durability poll.However it does not specify which unit is used for the "interval" attribute. Will request to make it clear.


      Looks like "timeout" field, "interval" field can also be specified in microseconds.

      https://github.com/couchbase/libcouchbase/blob/2.4.3/src/settings.h#L53 - LCB_DEFAULT_DURABILITY_INTERVAL
      https://github.com/couchbase/libcouchbase/blob/2.4.3/src/operations/durability.c#L648 - Default value of 100ms chosen when interval isn't specified.

      Attachments

        For Gerrit Dashboard: CCBC-540
        # Subject Branch Project Status CR V

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            asingh Abhishek Singh (Inactive)
            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