[RCBC-9] all_docs.count fails after a flush Created: 21/Oct/11 Updated: 13/Nov/12 Resolved: 31/May/12 |
|
| Status: | Closed |
| Project: | Couchbase Ruby client library |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.0.z.beta |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Alan McKean | Assignee: | Sergey Avseyev |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | Mac Snow Leopard, Couchbase Server Mac, after couchbase.flush | ||
| Issue Links: |
|
||||||||
| Description |
|
couchbase.all_docs.count
Couchbase::ViewError: local: Database `default/1` doesn't exist. from /usr/local/Cellar/gems/1.8/gems/couchbase-0.9.7/lib/couchbase/view.rb:140:in `block in fetch' from /usr/local/Cellar/gems/1.8/gems/couchbase-0.9.7/lib/couchbase/view.rb:133:in `loop' from /usr/local/Cellar/gems/1.8/gems/couchbase-0.9.7/lib/couchbase/view.rb:133:in `fetch' from /usr/local/Cellar/gems/1.8/gems/couchbase-0.9.7/lib/couchbase/view.rb:68:in `each' from (irb):18:in `count' from (irb):18 from /usr/local/bin/irb:12:in `<main>' |
| Comments |
| Comment by Sergey Avseyev [ 29/Dec/11 ] |
| flush operation drops all databases and it needed some time for couchbase to recreate them. So currently you can sleep for a while. |
| Comment by Matt Ingenthron [ 29/Dec/11 ] |
|
Filed |
| Comment by Sergey Avseyev [ 31/May/12 ] |
| flush command is disabled by default |