couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Shards database name error in logs
Date Wed, 14 Sep 2016 17:17:50 GMT
Paul,

_metadata is our special database which is valid.
https://github.com/apache/couchdb-cassim/blob/master/src/cassim_metadata_cache.erl#L63-L64
--
,,,^..^,,,


On Wed, Sep 14, 2016 at 7:15 PM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
> I'm pretty sure its saying that you're trying to create a database
> named _metadata which isn't a valid database name for two reasons.
> First, we require db names to start with a letter for file system
> compatibility and to avoid surprises (ie, if someone tried to name a
> database "../foo"). Second, we generally reserve the _ prefix in all
> API places for CouchDB internal use.
>
> On Tue, Sep 13, 2016 at 11:23 PM, Joey Samonte
> <csharpdeveloper@hotmail.com> wrote:
>> Good day,
>>
>>
>> I am getting a lot of error like this one in the logs (Windows):
>>
>>
>> {"error":"illegal_database_name","reason":"Name: 'shards%2F00000000-1fffffff%2F_metadata.1473815830'.
Only lowercase characters (a-z)
>>
>>
>> Why is this so?
>>
>>
>> Regards,
>>
>> Joey
>>
>>
>>
>>

Mime
View raw message