Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-1840

vbucketmigrator needs to handle TAP_MUTATION error responses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • 1.6.0 beta3
    • 1.6.0 beta4
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      Bugging this up so we don't forget. In this bug, vbucketmigrator might need improvements to handle error responses from TAP_MUTATION. Code inspection shows it doesn't and seems to drop them on the floor. email trail...

      ------------

      > If a replica receives a TAP_MUTATION but has hit the same kind of mem-used > mem-quota error (in MB-1820), what happens? As a thought experiment, if the codepaths are the same as with MB-1820, perhaps errors are returned to the tap stream sender/source? Does something reasonable happen in the tap stream sender/source (I suppose that's the vbucketmigrator) to retry?

      That is correct – it will error and vbucketmigrator will receive that error. Edge cases are a pain, but it does seem safer to overshoot the memory than to just stop being able to replicate.

      Attachments

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

        Activity

          People

            trond@northscale.com Trond Norbye [X] (Inactive)
            steve.yen@northscale.com Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty