Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: couchbase/gocb Loading
base: v2.8.0
Choose a base ref
...
head repository: couchbase/gocb Loading
compare: v2.8.1
Choose a head ref
  • 13 commits
  • 31 files changed
  • 2 contributors

Commits on Mar 21, 2024

  1. GOCBC-1578: Update couchbase2 port parsing

    Motivation
    -----------
    We recently updating the connection string parsing for couchbase2
    to support default to port 18098 when no port specified. The
    check that we added was incorrect.
    
    Changes
    -------
    Update couchbase2 connection string parsing to check for a port value
    of -1.
    
    Change-Id: I57dded44d3a3324d7516153657d92d7e496ef5a6
    Reviewed-on: https://review.couchbase.org/c/gocb/+/207482
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    eac11bc View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. GOCBC-1623: Support for scoped eventing functions

    Motivation
    ==========
    A new `function_scope` field was introduced in 7.1 which acts as a namespace or grouping tag. We should support it in the SDK by adding a new scope-level eventing function manager.
    
    Changes
    =======
    * Add an eventingManagerProvider interface, alongside a core implementation.
    * Refactor the existing EventingFunctionManager to use the eventingManagerProvider internally.
    * Add a new ScopeEventingFunctionManager to support scoped eventing functions.
    
    Results
    =======
    All tests pass
    
    Change-Id: Idba48f1bdc90a29ee25f64ace201563851aa7895
    Reviewed-on: https://review.couchbase.org/c/gocb/+/207631
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Charles Dixon <[email protected]>
    DemetrisChr committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    e88e360 View commit details
    Browse the repository at this point in the history
  2. GOCBC-1617: Retry on reading first row for query and search

    Motivation
    ----------
    The initial call to query or search may succeed but, due to how grpc
    works, errors like "service not available" might only be surfaced
    when reading the first item from the stream. We need to be able
    to retry when this happens.
    
    Changes
    -------
    Update our couchbase2 request path to accept a "peek" callback
    which can be used to access the result before leaving the retry
    logic, and respond with an error if required.
    
    Change-Id: I447e0f99887a2c0889d84930cc95de76121adfd6
    Reviewed-on: https://review.couchbase.org/c/gocb/+/207633
    Tested-by: Charles Dixon <[email protected]>
    Reviewed-by: Brett Lawson <[email protected]>
    chvck committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    4401577 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Update gocbcore version

    Picks up the GOCBC-1596 changes (waiting for any in-progress lost transaction cleaner processes before removing client from client record)
    
    Change-Id: Iae529f019fee45402bad2f955b6df9beddf0d4b9
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208097
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Charles Dixon <[email protected]>
    DemetrisChr committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7fb764b View commit details
    Browse the repository at this point in the history
  2. GOCBC-1520: Add concurrency back into the range scan API & implement …

    …load balancing
    
    Motivation
    ==========
    The RFC requires SDKs that implement concurrency for range scan to distribute scans across nodes in the cluster as evenly as possible.
    
    Changes
    =======
    * Add rangeScanLoadBalancer that handles the distribution of scans across the nodes
    * The rangeScanOpManager uses the rangeScanLoadBalancer to decide which vbucket to scan next
    * Add Concurrency to ScanOptions
    
    Results
    =======
    All tests pass (including FIT)
    
    Change-Id: Ib01398f723ba2def7d460b36d18404066dd51ac6
    Reviewed-on: https://review.couchbase.org/c/gocb/+/207078
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Charles Dixon <[email protected]>
    DemetrisChr committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    cd878d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Fix channel closing prematurely in TestRangeScanLoadBalancer

    * Make sure that all goroutines have finished writing to the channel before closing it
    * Tidying up the test slightly
    
    Change-Id: Icceda262c4f0446b4f59a4286ce98619212c9e21
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208230
    Reviewed-by: Charles Dixon <[email protected]>
    Tested-by: Build Bot <[email protected]>
    DemetrisChr committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b38c69d View commit details
    Browse the repository at this point in the history
  2. Ensure scope exists before creating collections in tests

    Change-Id: Ic801f239e054cc66312f24e413ca229540e226c9
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208218
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    a00ea7b View commit details
    Browse the repository at this point in the history
  3. Update expiry comparison logic in tests

    Change-Id: I91a0f24fc65ce3237b122b9801b62a9a4bf6a458
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208236
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    3a8df61 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. GOCBC-1623: Add EventingFunctionLanguageCompatibilityVersion720

    Change-Id: Id74a53d429bddb5d934aa704f02f1ecfa6956e4a
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208307
    Reviewed-by: Charles Dixon <[email protected]>
    Tested-by: Build Bot <[email protected]>
    DemetrisChr committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    0a4599c View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Update dependencies

    Change-Id: I4491880797eac7d168e0c501c66962d958d8f6e0
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208458
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    Tested-by: Build Bot <[email protected]>
    chvck committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    9e28573 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Mark waituntilready as not supported by mock

    Motivation
    ----------
    Using WaitUntilReady against gocaves is unreliable and sometimes
    fails. Investigation into this issue has pointed to it likely
    being a bug somewhere in caves itself.
    
    Changes
    -------
    Mark waituntilready as not supported by mock.
    
    Change-Id: If8193165454eb724b547276707d44b24342e6b8c
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208577
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    772a84c View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Update tests to wait for resources to be ready before using them

    Change-Id: Ie9fc319fec3b8099deb93f6face07457fb0b61b8
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208672
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a9c5a68 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Prepare v2.8.1 release

    Change-Id: I2e9cd90f9d7ceb534e27b2a44df2cd021b326a16
    Reviewed-on: https://review.couchbase.org/c/gocb/+/208743
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    chvck committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    53d7c09 View commit details
    Browse the repository at this point in the history
Loading