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

add UI help text to clarify flush for memacached (was: Flushing memcached bucket does not set Item Count to 0)

    XMLWordPrintable

    Details

    • Triage:
      Untriaged

      Description

      When a memcached bucket is flushed through the UI, the Item Count does not become 0.

      Steps to reproduce:

      • Create a memcached bucket with Flush enabled.
      • Put data in the memcached bucket so that Item Count in the UI is > 0.
      • Using the UI, flush the memcached bucket.
      • Note that Item Count is > 0.
      • Note that if Gets are performed on the data, the Item Count will be reduced.

      My understanding is that when a flush is run on a memcached bucket, data is not actually removed, but all items are set to expired. Since the data is not actually removed, it may be technically correct for the Item Count to remain non-zero, however it is confusing to report this in the UI.

      Suggestion is that either Item Count be set to 0 following a successful flush of memcached buckets since they are 'effectively' removed, or that a note of help / explanation be linked to or otherwise provided following the flush of a memcached bucket.

        Attachments

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

          Activity

          Hide
          anil Anil Kumar added a comment -

          Triage - Alk, Anil, Wayne, Parag, Tony .. July 17th

          Show
          anil Anil Kumar added a comment - Triage - Alk, Anil, Wayne, Parag, Tony .. July 17th
          Hide
          dhaikney David Haikney added a comment -

          The "What's This?" text doesn't address the common confusion which is "I pressed flush on a memcache bucket but my item count remained the same".Could expand the explanatory text to be "When flushed, items in memcached buckets are flagged for removal and subsequently removed. This does not affect the item count immediately". To keep the text short I think "Enable flush allows you to flush data from a bucket." is unnecessary - that part is obvious.

          I personally think Perry's suggestion is a more user-friendly way of fixing this. Providing a pop-up front and centre when the user hits flush provides the information closest to the point where it's useful. Even better if you can make the contents of the pop-up text conditional on the type of bucket being flushed. No one flushing a couchbase-type bucket needs to worry about memcache item counts.

          Show
          dhaikney David Haikney added a comment - The "What's This?" text doesn't address the common confusion which is "I pressed flush on a memcache bucket but my item count remained the same".Could expand the explanatory text to be "When flushed, items in memcached buckets are flagged for removal and subsequently removed. This does not affect the item count immediately". To keep the text short I think "Enable flush allows you to flush data from a bucket." is unnecessary - that part is obvious. I personally think Perry's suggestion is a more user-friendly way of fixing this. Providing a pop-up front and centre when the user hits flush provides the information closest to the point where it's useful. Even better if you can make the contents of the pop-up text conditional on the type of bucket being flushed. No one flushing a couchbase-type bucket needs to worry about memcache item counts.
          Hide
          alkondratenko Aleksey Kondratenko (Inactive) added a comment -

          Guys, I'm totally fine of you want to have bikeshed discussion on this topic.

          But jira is not good place for it. Especially if you reopen ticket and assign to member of my team. What Pavel is supposed to do ? Pick some person A's opinion, spend time doing it, only for person B disagree with person A and reopen ticket again ?

          I cannot allow this to happen.

          Please find a way outside of jira and without bothering my team to settle on some final text and then let Anil let us know.

          Show
          alkondratenko Aleksey Kondratenko (Inactive) added a comment - Guys, I'm totally fine of you want to have bikeshed discussion on this topic. But jira is not good place for it. Especially if you reopen ticket and assign to member of my team. What Pavel is supposed to do ? Pick some person A's opinion, spend time doing it, only for person B disagree with person A and reopen ticket again ? I cannot allow this to happen. Please find a way outside of jira and without bothering my team to settle on some final text and then let Anil let us know.
          Hide
          anil Anil Kumar added a comment -

          Pavel - Sorry about the confusion. We have finalized the text (below) lets change that and resolve this ticket.

          "When flushed, items in memcached buckets are flagged for removal and subsequently removed; items in couchbase buckets are immediately removed. This does not affect the item count immediately ”

          Show
          anil Anil Kumar added a comment - Pavel - Sorry about the confusion. We have finalized the text (below) lets change that and resolve this ticket. "When flushed, items in memcached buckets are flagged for removal and subsequently removed; items in couchbase buckets are immediately removed. This does not affect the item count immediately ”
          Show
          alkondratenko Aleksey Kondratenko (Inactive) added a comment - merged: http://review.couchbase.org/40171

            People

            Assignee:
            pavel Pavel Blagodov
            Reporter:
            brent Brent Woodruff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty