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

bg_fetch isn't working correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta2
    • 1.6.0 beta1
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      setting flush param: min_data_age 0
      setting flush param: bg_fetch_delay 10
      Connecting.
      Flushing database.
      Getting key (miss).
      Getting value for ep_total_persisted.
      ep_total_persisted: 0
      Setting key using mc_bin_client.
      someKey = 1
      Sleeping 5 seconds.
      Getting value for ep_total_persisted.
      ep_total_persisted: 1
      Getting key (hit).
      Forcing an eviction.
      Getting key (hit).
      Unexpected info from get key (hit): END

      Everything is working great until the last get - which is delayed for 10 seconds because of bg_fetch_delay. In another terminal, I'm telneting to 11211 and doing a mutation of someKey, but it's failing pretty spectacularly.

      incr someKey 1
      SERVER_ERROR proxy write to downstream
      get someKey
      VALUE someKey 0 1
      1
      END

      So incr fails while a background fetch is going on, and the value is not modified.

      Attachments

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

        Activity

          People

            dustin@sallings.org Dustin Sallings (Inactive)
            sektie@gmail.com Randi Harper
            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