Re: Shards database name error in logs

2016-09-16 Thread Paul J Davis
Doh! Forgot about cassim. 

> On Sep 14, 2016, at 12:17 PM, Alexander Shorin  wrote:
> 
> 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  
>> 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
>>  wrote:
>>> Good day,
>>> 
>>> 
>>> I am getting a lot of error like this one in the logs (Windows):
>>> 
>>> 
>>> {"error":"illegal_database_name","reason":"Name: 
>>> 'shards%2F-1fff%2F_metadata.1473815830'. Only lowercase 
>>> characters (a-z)
>>> 
>>> 
>>> Why is this so?
>>> 
>>> 
>>> Regards,
>>> 
>>> Joey
>>> 
>>> 
>>> 
>>> 


Re: Shards database name error in logs

2016-09-15 Thread Jan Lehnardt

> On 15 Sep 2016, at 00:00, Robert Samuel Newson  wrote:
> 
> cassim was removed from the 2.0 release though. I guess we forgot to tell the 
> setup application not to try creating it.

That one is on me, since I did both the setup and the cassim remove, sorry 
about that. We’ll list that in the known issues for 2.0.0. I’ve already 
committed a fix to couchdb-setup: 
https://git-wip-us.apache.org/repos/asf?p=couchdb-setup.git;h=e8d1e32 — issue 
filed here, so it shows up for people on 2.0.0 looking for “known issues” 
(https://s.apache.org/couchdb-2.0-known-issues): 
https://issues.apache.org/jira/browse/COUCHDB-3148

Best
Jan
--

> 
> B.
> 
>> On 14 Sep 2016, at 18:17, Alexander Shorin  wrote:
>> 
>> 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  
>> 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
>>>  wrote:
 Good day,
 
 
 I am getting a lot of error like this one in the logs (Windows):
 
 
 {"error":"illegal_database_name","reason":"Name: 
 'shards%2F-1fff%2F_metadata.1473815830'. Only lowercase 
 characters (a-z)
 
 
 Why is this so?
 
 
 Regards,
 
 Joey
 
 
 
 
> 

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/



Re: Shards database name error in logs

2016-09-14 Thread Robert Samuel Newson
cassim was removed from the 2.0 release though. I guess we forgot to tell the 
setup application not to try creating it.

B.

> On 14 Sep 2016, at 18:17, Alexander Shorin  wrote:
> 
> 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  
> 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
>>  wrote:
>>> Good day,
>>> 
>>> 
>>> I am getting a lot of error like this one in the logs (Windows):
>>> 
>>> 
>>> {"error":"illegal_database_name","reason":"Name: 
>>> 'shards%2F-1fff%2F_metadata.1473815830'. Only lowercase 
>>> characters (a-z)
>>> 
>>> 
>>> Why is this so?
>>> 
>>> 
>>> Regards,
>>> 
>>> Joey
>>> 
>>> 
>>> 
>>> 



Re: Shards database name error in logs

2016-09-14 Thread Alexander Shorin
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  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
>  wrote:
>> Good day,
>>
>>
>> I am getting a lot of error like this one in the logs (Windows):
>>
>>
>> {"error":"illegal_database_name","reason":"Name: 
>> 'shards%2F-1fff%2F_metadata.1473815830'. Only lowercase 
>> characters (a-z)
>>
>>
>> Why is this so?
>>
>>
>> Regards,
>>
>> Joey
>>
>>
>>
>>


Re: Shards database name error in logs

2016-09-14 Thread Paul Davis
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
 wrote:
> Good day,
>
>
> I am getting a lot of error like this one in the logs (Windows):
>
>
> {"error":"illegal_database_name","reason":"Name: 
> 'shards%2F-1fff%2F_metadata.1473815830'. Only lowercase 
> characters (a-z)
>
>
> Why is this so?
>
>
> Regards,
>
> Joey
>
>
>
>