[MB-5019] After bucket deletion UI still shows that "Cluster Memory Fully Allocated" warning message when there's actually some not allocated memory Created: 05/Apr/12  Updated: 13/May/12  Resolved: 18/Apr/12

Status: Resolved
Project: Couchbase Server
Component/s: ns_server
Affects Version/s: 1.8.1
Fix Version/s: 1.8.1
Security Level: Public

Type: Bug Priority: Minor
Reporter: Aliaksey Artamonau Assignee: Aleksey Kondratenko
Resolution: Fixed Votes: 0
Labels: 1.8.1-release-notes, next_sprint
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
1. Create a cluster and allocate as much memory for default bucket as server quota allows.
2. Go to manage data buckets page.
3. Press "Create New Data Bucket" button. It will show a message saying that it's impossible to create a bucket since all the RAM is occupied.
4. Press "edit" button for default bucket and decrease per node RAM quota. Don't reload the page.
5. Press "Create New Data Bucket" button again. It shows the same warning message.
6. Reload the page and press the button again. Now it works as expected.

 Comments   
Comment by Aleksey Kondratenko [ 05/Apr/12 ]
Thanks for reporting this. Somehow bucket deletion is not triggering pool details long polling request reply. I bet we have similar issue with request that moxi is using to discover sasl auth buckets.
Comment by Steve Yen [ 09/Apr/12 ]
alk thinks it's couple of lines fix, done right.
Comment by Aliaksey Artamonau [ 18/Apr/12 ]
http://review.couchbase.org/14971
Comment by Aleksey Kondratenko [ 18/Apr/12 ]
Done
Comment by Thuan Nguyen [ 20/Apr/12 ]
Integrated in github-ns-server-2-0 #333 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/333/])
    force-refresh pool details before creating bucket. MB-5019 (Revision e855b83adf6cb709e827625ee77403e38e2d3ee6)

     Result = SUCCESS
Aliaksey Kandratsenka :
Files :
* priv/public/js/buckets.js
Generated at Fri Aug 01 04:39:33 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.