Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D60B7808 for ; Sun, 17 Jul 2011 23:08:23 +0000 (UTC) Received: (qmail 87893 invoked by uid 500); 17 Jul 2011 23:08:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87691 invoked by uid 500); 17 Jul 2011 23:08:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 87683 invoked by uid 99); 17 Jul 2011 23:08:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2011 23:08:22 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2011 23:08:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0C2AE84F81 for ; Sun, 17 Jul 2011 23:08:00 +0000 (UTC) Date: Sun, 17 Jul 2011 23:08:00 +0000 (UTC) From: "Alex Koshelev (JIRA)" To: dev@couchdb.apache.org Message-ID: <1337919667.21588.1310944080046.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (COUCHDB-1225) missing_named_view error on existing design doc and view MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 missing_named_view error on existing design doc and view -------------------------------------------------------- Key: COUCHDB-1225 URL: https://issues.apache.org/jira/browse/COUCHDB-1225 Project: CouchDB Issue Type: Bug Environment: Erlang 1:14.b.3 CouchDB 1.2.0a-f7cc8fa-git Ubuntu Lucid 10.04 64bit Reporter: Alex Koshelev curl foo.bar:5984/cray_frame_11266/_design/admin/_view/regions_by_channel?limit=1 {"error":"not_found","reason":"missing_named_view"} It worked some time ago but now there is constantly the error. If I restart CoucDB it will solve this issue. Updating the desing doc also solves the issue. With debug log level I get this messages: [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] 'GET' /cray_frame_11266/_design/admin/_view/regions_by_channel?limit=1 {1, 1} from "93.158.159.91" Headers: [{'Accept',"*/*"}, {'Host',"foo.bar:5984"}, {'User-Agent',"curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15"}] [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] OAuth Params: [{"limit","1"}] [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] request_group {Pid, Seq} {<0.6419.0>,311} [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] request_group {Pid, Seq} {<0.6419.0>,311} [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] Minor error in HTTP request: {not_found, missing_named_view} [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] Stacktrace: [{io_lib_pretty,cind_tag_tuple,7}, {io_lib_pretty,while_fail,3}, {io_lib_pretty,print,6}, {io_lib_format,build,3}, {io_lib_format,build,3}, {io_lib_format,build,3}, {io_lib_format,build,3}, {io_lib_format,build,3}] [Sat, 16 Jul 2011 23:40:44 GMT] [info] [<0.898.3>] 0.0.0.0 - - GET /cray_frame_11266/_design/admin/_view/regions_by_channel?limit=1 404 [Sat, 16 Jul 2011 23:40:44 GMT] [debug] [<0.898.3>] httpd 404 error response: {"error":"not_found","reason":"missing_named_view"} I've also tried to get _info about design doc and found that it have had zero data_size: > curl foo.bar:5984/cray_frame_11266/_design/admin/_info | python -mjson.tool { "name": "admin", "view_index": { "compact_running": false, "data_size": 0, "disk_size": 90241, "language": "erlang", "purge_seq": 0, "signature": "09b8b599cad584406b7aa5956b98a335", "update_seq": 311, "updater_running": false, "waiting_clients": 0, "waiting_commit": false } } In the same time another similar design doc works fine and has some data_size: > curl foo.bar:5984/cray_frame_11266/_design/web/_info | python -mjson.tool { "name": "web", "view_index": { "compact_running": false, "data_size": 7462075, "disk_size": 9138406, "language": "erlang", "purge_seq": 0, "signature": "7f01f0c843b3bbb79d00ec4ff8d43010", "update_seq": 311, "updater_running": false, "waiting_clients": 0, "waiting_commit": false } } Over the year ago Mark Anderson has asked similar questing in the thread called "Need help diagnosing couchdb view 404s" [1] but seams did not found any answer than. [1]: http://comments.gmane.org/gmane.comp.db.couchdb.user/8994 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira