You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Mario Scheliga <ma...@sourcegarden.de> on 2010/02/20 19:40:56 UTC
Database Info-Object
Hello Everyone,
does anybody knows what the instant_start_time and the
disk_format_version in the Database-Infoboject mean?
Is there something like a documentation about the different
disk_format_versions?
thank you guys
mario
--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin
Re: Database Info-Object (purge request returns invalid purge_seq)
Posted by Paul Davis <pa...@gmail.com>.
Fixed in trunk. Thanks for the report Markus. Thanks for the patch Filipe.
Yay open source.
On Mon, Feb 22, 2010 at 9:26 AM, Filipe David Manana <fd...@gmail.com> wrote:
> Hi Markus,
>
> I created a ticket for it:
> https://issues.apache.org/jira/browse/COUCHDB-663
>
> cheers
>
> On Mon, Feb 22, 2010 at 10:55 AM, Markus Jelsma <ma...@buyways.nl> wrote:
>
>> purge_seq gets incremented for each _purge request. But there is a small
>> issue:
>>
>>
>> # curl -X GET http://localhost:5984/idm/
>>
>> {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":27,"purge_seq":12,"compact_running":false,"disk_size":110680,"instance_start_time":"1266831271770843","disk_format_version":4}
>>
>>
>> # curl -X POST http://localhost:5984/idm/_purge -d '{}'
>> {"purge_seq":28,"purged":{}}
>>
>>
>> # curl -X GET http://localhost:5984/idm/
>>
>> {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":28,"purge_seq":13,"compact_running":false,"disk_size":114776,"instance_start_time":"1266831271770843","disk_format_version":4}
>>
>>
>> # curl -X POST http://localhost:5984/idm/_purge -d '{}'
>> {"purge_seq":29,"purged":{}}
>>
>>
>>
>> Check it out! Purging returns update_seq instead.
>>
>>
>>
>>
>> Markus Jelsma - Technisch Architect - Buyways BV
>> http://www.linkedin.com/in/markus17
>> 050-8536620 <http://www.linkedin.com/in/markus17%0A050-8536620> /
>> 06-50258350
>>
>>
>
>
> --
> Filipe David Manana,
> fdmanana@gmail.com
> PGP key - http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC569452B
>
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."
>
Re: Database Info-Object (purge request returns invalid purge_seq)
Posted by Filipe David Manana <fd...@gmail.com>.
Hi Markus,
I created a ticket for it:
https://issues.apache.org/jira/browse/COUCHDB-663
cheers
On Mon, Feb 22, 2010 at 10:55 AM, Markus Jelsma <ma...@buyways.nl> wrote:
> purge_seq gets incremented for each _purge request. But there is a small
> issue:
>
>
> # curl -X GET http://localhost:5984/idm/
>
> {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":27,"purge_seq":12,"compact_running":false,"disk_size":110680,"instance_start_time":"1266831271770843","disk_format_version":4}
>
>
> # curl -X POST http://localhost:5984/idm/_purge -d '{}'
> {"purge_seq":28,"purged":{}}
>
>
> # curl -X GET http://localhost:5984/idm/
>
> {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":28,"purge_seq":13,"compact_running":false,"disk_size":114776,"instance_start_time":"1266831271770843","disk_format_version":4}
>
>
> # curl -X POST http://localhost:5984/idm/_purge -d '{}'
> {"purge_seq":29,"purged":{}}
>
>
>
> Check it out! Purging returns update_seq instead.
>
>
>
>
> Markus Jelsma - Technisch Architect - Buyways BV
> http://www.linkedin.com/in/markus17
> 050-8536620 <http://www.linkedin.com/in/markus17%0A050-8536620> /
> 06-50258350
>
>
--
Filipe David Manana,
fdmanana@gmail.com
PGP key - http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC569452B
"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."
Re: Database Info-Object (purge request returns invalid purge_seq)
Posted by Markus Jelsma <ma...@buyways.nl>.
purge_seq gets incremented for each _purge request. But there is a small
issue:
# curl -X GET http://localhost:5984/idm/
{"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":27,"purge_seq":12,"compact_running":false,"disk_size":110680,"instance_start_time":"1266831271770843","disk_format_version":4}
# curl -X POST http://localhost:5984/idm/_purge -d '{}'
{"purge_seq":28,"purged":{}}
# curl -X GET http://localhost:5984/idm/
{"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":28,"purge_seq":13,"compact_running":false,"disk_size":114776,"instance_start_time":"1266831271770843","disk_format_version":4}
# curl -X POST http://localhost:5984/idm/_purge -d '{}'
{"purge_seq":29,"purged":{}}
Check it out! Purging returns update_seq instead.
Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350
Re: Database Info-Object
Posted by Mario Scheliga <ma...@sourcegarden.de>.
ahhh, i missed the thing with the purge_seq, what does that mean?
Am 20.02.2010 um 19:40 schrieb Mario Scheliga:
> Hello Everyone,
>
> does anybody knows what the instant_start_time and the
> disk_format_version in the Database-Infoboject mean?
> Is there something like a documentation about the different
> disk_format_versions?
>
> thank you guys
> mario
>
>
> --
> Sourcegarden GmbH HR: B-104357
> Steuernummer: 37/167/21214 USt-ID: DE814784953
> Geschaeftsfuehrer: Mario Scheliga, Rene Otto
> Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
> Schoenhauser Allee 51, 10437 Berlin
>
--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin