You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Mark Hammond <mh...@skippinet.com.au> on 2010/02/25 02:18:21 UTC

Windows 0.11 snapshot

Hi all,
   With 0.11 not far away, I've put up a Windows snapshot for testing 
built from the 0.11 branch.  It would be great if people could have a 
play and report any problems they see.  Note however that almost all the 
'problems' in the 0.10 build (eg, compacting databases or views) still 
exist - while we do have a good plan for fixing those problems, it seems 
a little unlikely they will be ready for 0.11

Snapshots at:

http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe

http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5

and I even signed it in anticipation of needing to do so for official 
releases...

http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc


Cheers,

Mark

Re: Windows 0.11 snapshot

Posted by Norman Barker <no...@gmail.com>.
Mark,

what is the plan for fixing compaction? Is this documented anywhere,
can we contribute?

thanks,

Norman

On Thu, Feb 25, 2010 at 9:40 AM, Phat Loc <ph...@gmail.com> wrote:
> Just upgraded today, Futon throws this error when I try to create a doc
> "invalid UTF-8 JSON". Any thoughts on how to fix?
>
> On Feb 24, 2010, at 10:32 PM, Daniel Alexiuc <da...@alexiuc.com> wrote:
>
>> Thanks very much!
>>
>> On Thu, Feb 25, 2010 at 12:48 PM, Nicholas Orr
>> <ni...@zxgen.net>wrote:
>>
>>> updated http://temp.zxtest.com
>>>
>>> 2010/2/25 Daniel Alexiuc <da...@alexiuc.com>
>>>
>>>> The first time I downloaded it I got a checksum error - second time the
>>>> download failed.
>>>>
>>>> Can someone please mirror these files? I'm not having any luck
>>>
>>> downloading
>>>>
>>>> them.
>>>>
>>>> Daniel
>>>>
>>>> On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <
>>>
>>> mhammond@skippinet.com.au
>>>>>
>>>>> wrote:
>>>>
>>>>> Hi all,
>>>>> With 0.11 not far away, I've put up a Windows snapshot for testing
>>>
>>> built
>>>>>
>>>>> from the 0.11 branch.  It would be great if people could have a play
>>>
>>> and
>>>>>
>>>>> report any problems they see.  Note however that almost all the
>>>>
>>>> 'problems'
>>>>>
>>>>> in the 0.10 build (eg, compacting databases or views) still exist -
>>>
>>> while
>>>>
>>>> we
>>>>>
>>>>> do have a good plan for fixing those problems, it seems a little
>>>
>>> unlikely
>>>>>
>>>>> they will be ready for 0.11
>>>>>
>>>>> Snapshots at:
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe>
>>>>
>>>> <
>>>>
>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5>
>>>>
>>>> <
>>>>
>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
>>>>>
>>>>>
>>>>> and I even signed it in anticipation of needing to do so for official
>>>>> releases...
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc>
>>>>
>>>> <
>>>>
>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Mark
>>>>>
>>>>
>>>
>

Re: Recommended Ruby Gem for CouchDB Development

Posted by J Chris Anderson <jc...@gmail.com>.
On Feb 25, 2010, at 2:36 PM, David Goodlad wrote:

> On Fri, Feb 26, 2010 at 9:27 AM, Mike Keen <mk...@visiture.com> wrote:
>> Hey All,
>> 
>> Just wondering what Ruby gem(s) you would recommend for use with CouchDB. Something in active development would be great. I tried CouchFoo, but that project seems to have fallen by the wayside.
> 
> You might want to have a look at Throne,
> http://github.com/benschwarz/throne . There are definitely some bits
> missing, but Ben Schwarz has been giving it a lot of love lately.

I haven't been developing it actively lately, but CouchRest attempts to cover the basics in a no-nonsense way.

http://github.com/couchrest/couchrest

I haven't looked at Throne, maybe it's better than CouchRest.

Chris

Re: Recommended Ruby Gem for CouchDB Development

Posted by David Goodlad <da...@goodlad.ca>.
On Fri, Feb 26, 2010 at 9:27 AM, Mike Keen <mk...@visiture.com> wrote:
> Hey All,
>
> Just wondering what Ruby gem(s) you would recommend for use with CouchDB. Something in active development would be great. I tried CouchFoo, but that project seems to have fallen by the wayside.

You might want to have a look at Throne,
http://github.com/benschwarz/throne . There are definitely some bits
missing, but Ben Schwarz has been giving it a lot of love lately.

Dave

Recommended Ruby Gem for CouchDB Development

Posted by Mike Keen <mk...@visiture.com>.
Hey All,

Just wondering what Ruby gem(s) you would recommend for use with CouchDB. Something in active development would be great. I tried CouchFoo, but that project seems to have fallen by the wayside.

Thanks,
Mike Keen

Re: Windows 0.11 snapshot

Posted by Phat Loc <ph...@gmail.com>.

Fixed it. I completly uninstalled 10 and reinstalled 10.1.

On Feb 25, 2010, at 11:40 AM, Phat Loc <ph...@gmail.com> wrote:

> Just upgraded today, Futon throws this error when I try to create a  
> doc "invalid UTF-8 JSON". Any thoughts on how to fix?
>
> On Feb 24, 2010, at 10:32 PM, Daniel Alexiuc <da...@alexiuc.com>  
> wrote:
>
>> Thanks very much!
>>
>> On Thu, Feb 25, 2010 at 12:48 PM, Nicholas Orr <nicholas.orr@zxgen.net 
>> >wrote:
>>
>>> updated http://temp.zxtest.com
>>>
>>> 2010/2/25 Daniel Alexiuc <da...@alexiuc.com>
>>>
>>>> The first time I downloaded it I got a checksum error - second  
>>>> time the
>>>> download failed.
>>>>
>>>> Can someone please mirror these files? I'm not having any luck
>>> downloading
>>>> them.
>>>>
>>>> Daniel
>>>>
>>>> On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <
>>> mhammond@skippinet.com.au
>>>>> wrote:
>>>>
>>>>> Hi all,
>>>>> With 0.11 not far away, I've put up a Windows snapshot for testing
>>> built
>>>>> from the 0.11 branch.  It would be great if people could have a  
>>>>> play
>>> and
>>>>> report any problems they see.  Note however that almost all the
>>>> 'problems'
>>>>> in the 0.10 build (eg, compacting databases or views) still  
>>>>> exist -
>>> while
>>>> we
>>>>> do have a good plan for fixing those problems, it seems a little
>>> unlikely
>>>>> they will be ready for 0.11
>>>>>
>>>>> Snapshots at:
>>>>>
>>>>>
>>>>>
>>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe 
>>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe 
>>> >
>>>> <
>>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5 
>>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5 
>>> >
>>>> <
>>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
>>>>>
>>>>>
>>>>> and I even signed it in anticipation of needing to do so for  
>>>>> official
>>>>> releases...
>>>>>
>>>>>
>>>>>
>>>>
>>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc 
>>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc 
>>> >
>>>> <
>>>>
>>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Mark
>>>>>
>>>>
>>>

Re: Windows 0.11 snapshot

Posted by Phat Loc <ph...@gmail.com>.
Just upgraded today, Futon throws this error when I try to create a  
doc "invalid UTF-8 JSON". Any thoughts on how to fix?

On Feb 24, 2010, at 10:32 PM, Daniel Alexiuc <da...@alexiuc.com> wrote:

> Thanks very much!
>
> On Thu, Feb 25, 2010 at 12:48 PM, Nicholas Orr  
> <ni...@zxgen.net>wrote:
>
>> updated http://temp.zxtest.com
>>
>> 2010/2/25 Daniel Alexiuc <da...@alexiuc.com>
>>
>>> The first time I downloaded it I got a checksum error - second  
>>> time the
>>> download failed.
>>>
>>> Can someone please mirror these files? I'm not having any luck
>> downloading
>>> them.
>>>
>>> Daniel
>>>
>>> On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <
>> mhammond@skippinet.com.au
>>>> wrote:
>>>
>>>> Hi all,
>>>> With 0.11 not far away, I've put up a Windows snapshot for testing
>> built
>>>> from the 0.11 branch.  It would be great if people could have a  
>>>> play
>> and
>>>> report any problems they see.  Note however that almost all the
>>> 'problems'
>>>> in the 0.10 build (eg, compacting databases or views) still exist -
>> while
>>> we
>>>> do have a good plan for fixing those problems, it seems a little
>> unlikely
>>>> they will be ready for 0.11
>>>>
>>>> Snapshots at:
>>>>
>>>>
>>>>
>>>
>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe 
>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe 
>> >
>>> <
>>>
>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
>>>>
>>>>
>>>>
>>>>
>>>
>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5 
>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5 
>> >
>>> <
>>>
>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
>>>>
>>>>
>>>> and I even signed it in anticipation of needing to do so for  
>>>> official
>>>> releases...
>>>>
>>>>
>>>>
>>>
>> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc 
>> <http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc 
>> >
>>> <
>>>
>> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Mark
>>>>
>>>
>>

Re: Windows 0.11 snapshot

Posted by Daniel Alexiuc <da...@alexiuc.com>.
Thanks very much!

On Thu, Feb 25, 2010 at 12:48 PM, Nicholas Orr <ni...@zxgen.net>wrote:

> updated http://temp.zxtest.com
>
> 2010/2/25 Daniel Alexiuc <da...@alexiuc.com>
>
> > The first time I downloaded it I got a checksum error - second time the
> > download failed.
> >
> > Can someone please mirror these files? I'm not having any luck
> downloading
> > them.
> >
> > Daniel
> >
> > On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <
> mhammond@skippinet.com.au
> > >wrote:
> >
> > > Hi all,
> > >  With 0.11 not far away, I've put up a Windows snapshot for testing
> built
> > > from the 0.11 branch.  It would be great if people could have a play
> and
> > > report any problems they see.  Note however that almost all the
> > 'problems'
> > > in the 0.10 build (eg, compacting databases or views) still exist -
> while
> > we
> > > do have a good plan for fixing those problems, it seems a little
> unlikely
> > > they will be ready for 0.11
> > >
> > > Snapshots at:
> > >
> > >
> > >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe>
> > <
> >
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
> > >
> > >
> > >
> > >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5>
> > <
> >
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
> > >
> > >
> > > and I even signed it in anticipation of needing to do so for official
> > > releases...
> > >
> > >
> > >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc>
> > <
> >
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
> > >
> > >
> > >
> > > Cheers,
> > >
> > > Mark
> > >
> >
>

Re: Windows 0.11 snapshot

Posted by Nicholas Orr <ni...@zxgen.net>.
updated http://temp.zxtest.com

2010/2/25 Daniel Alexiuc <da...@alexiuc.com>

> The first time I downloaded it I got a checksum error - second time the
> download failed.
>
> Can someone please mirror these files? I'm not having any luck downloading
> them.
>
> Daniel
>
> On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <mhammond@skippinet.com.au
> >wrote:
>
> > Hi all,
> >  With 0.11 not far away, I've put up a Windows snapshot for testing built
> > from the 0.11 branch.  It would be great if people could have a play and
> > report any problems they see.  Note however that almost all the
> 'problems'
> > in the 0.10 build (eg, compacting databases or views) still exist - while
> we
> > do have a good plan for fixing those problems, it seems a little unlikely
> > they will be ready for 0.11
> >
> > Snapshots at:
> >
> >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
> <
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
> >
> >
> >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
> <
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
> >
> >
> > and I even signed it in anticipation of needing to do so for official
> > releases...
> >
> >
> >
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
> <
> http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
> >
> >
> >
> > Cheers,
> >
> > Mark
> >
>

Re: Windows 0.11 snapshot

Posted by Daniel Alexiuc <da...@alexiuc.com>.
The first time I downloaded it I got a checksum error - second time the
download failed.

Can someone please mirror these files? I'm not having any luck downloading
them.

Daniel

On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond <mh...@skippinet.com.au>wrote:

> Hi all,
>  With 0.11 not far away, I've put up a Windows snapshot for testing built
> from the 0.11 branch.  It would be great if people could have a play and
> report any problems they see.  Note however that almost all the 'problems'
> in the 0.10 build (eg, compacting databases or views) still exist - while we
> do have a good plan for fixing those problems, it seems a little unlikely
> they will be ready for 0.11
>
> Snapshots at:
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe>
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5>
>
> and I even signed it in anticipation of needing to do so for official
> releases...
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc<http://people.apache.org/%7Emhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc>
>
>
> Cheers,
>
> Mark
>

Re: Windows 0.11 snapshot

Posted by Mark Hammond <sk...@gmail.com>.
On 28/02/2010 11:12 PM, Noah Slater wrote:
> I will be tagging 0.11 today, and building a tarball to vote on. Will
> you be available to build from that tarball if I give it to you first
> before calling the vote. Ideally, I would like to get the vote done
> by the end of the day.

I should be available most of my waking day, which is UTC+11.

Cheers,

Mark


Re: Windows 0.11 snapshot

Posted by Noah Slater <ns...@tumbolia.org>.
I will be tagging 0.11 today, and building a tarball to vote on. Will you be available to build from that tarball if I give it to you first before calling the vote. Ideally, I would like to get the vote done by the end of the day.

On 27 Feb 2010, at 00:55, Jan Lehnardt wrote:

> 
> On 26 Feb 2010, at 14:42, Mark Hammond wrote:
> 
>> On 27/02/2010 12:31 AM, Noah Slater wrote:
>>> I'm cutting the release soon. Are you confident that I can do that with your artefacts?
>>> 
>>> What day do you want to hand them over to me for the official vote?
>> 
>> I thought we decided that the artefacts needed to be built by me from your signed copy of the tarball?  I admit I have never tried to build from such a tarball (just an svn tree), so maybe I need to verify that first.  Are there any such 0.11 tarballs I could use for a practice run?
> 
> http://build.couchdb.org/?C=M;O=D
> 
> (or just run make distcheck in your svn checkout)
> 
> Cheers
> Jan
> --
> 


Re: Windows 0.11 snapshot

Posted by Jan Lehnardt <ja...@apache.org>.
On 26 Feb 2010, at 14:42, Mark Hammond wrote:

> On 27/02/2010 12:31 AM, Noah Slater wrote:
>> I'm cutting the release soon. Are you confident that I can do that with your artefacts?
>> 
>> What day do you want to hand them over to me for the official vote?
> 
> I thought we decided that the artefacts needed to be built by me from your signed copy of the tarball?  I admit I have never tried to build from such a tarball (just an svn tree), so maybe I need to verify that first.  Are there any such 0.11 tarballs I could use for a practice run?

http://build.couchdb.org/?C=M;O=D

(or just run make distcheck in your svn checkout)

Cheers
Jan
--


Re: Windows 0.11 snapshot

Posted by Mark Hammond <sk...@gmail.com>.
On 27/02/2010 12:31 AM, Noah Slater wrote:
> I'm cutting the release soon. Are you confident that I can do that with your artefacts?
>
> What day do you want to hand them over to me for the official vote?

I thought we decided that the artefacts needed to be built by me from 
your signed copy of the tarball?  I admit I have never tried to build 
from such a tarball (just an svn tree), so maybe I need to verify that 
first.  Are there any such 0.11 tarballs I could use for a practice run?

Cheers,

Mark

Re: Windows 0.11 snapshot

Posted by Noah Slater <ns...@tumbolia.org>.
I'm cutting the release soon. Are you confident that I can do that with your artefacts?

What day do you want to hand them over to me for the official vote?

On 26 Feb 2010, at 03:14, Mark Hammond wrote:

> On 25/02/2010 10:38 PM, Noah Slater wrote:
>> Might want to get this fixed for the release Mark.
>> 
>> The release artefact should have an sha1 and md5 hash in the same directory.
> 
> OK, done.  I modified the build script to create the .sha file, and also to arrange so both the sha and md5 files reference './setup-couchdb-xxx.exe
> 
> New snapshots have been uploaded and are named couchdb-0.11.0b916031.*
> 
> Cheers,
> 
> Mark
> 
>> 
>> Check the Verifying Releases section here:
>> 
>> http://couchdb.apache.org/downloads.html
>> 
>> Your files will need to pass this.
>> 
>> On 25 Feb 2010, at 03:37, Mark Hammond wrote:
>> 
>>> On 25/02/2010 1:51 PM, Nicholas Orr wrote:
>>>> The md5 file is expecting the file to be in a dir called windows - might
>>>> want to update the md5 :)
>>> 
>>> The md5 is auto-generated by the Makefile in the 'etc' directory - I'll make a fix for that as I find time (and patches welcome in the meantime ;)
>>> 
>>> Cheers,
>>> 
>>> Mark
>> 
> 


Re: Windows 0.11 snapshot

Posted by Mark Hammond <sk...@gmail.com>.
On 25/02/2010 10:38 PM, Noah Slater wrote:
> Might want to get this fixed for the release Mark.
>
> The release artefact should have an sha1 and md5 hash in the same directory.

OK, done.  I modified the build script to create the .sha file, and also 
to arrange so both the sha and md5 files reference './setup-couchdb-xxx.exe

New snapshots have been uploaded and are named couchdb-0.11.0b916031.*

Cheers,

Mark

>
> Check the Verifying Releases section here:
>
> http://couchdb.apache.org/downloads.html
>
> Your files will need to pass this.
>
> On 25 Feb 2010, at 03:37, Mark Hammond wrote:
>
>> On 25/02/2010 1:51 PM, Nicholas Orr wrote:
>>> The md5 file is expecting the file to be in a dir called windows - might
>>> want to update the md5 :)
>>
>> The md5 is auto-generated by the Makefile in the 'etc' directory - I'll make a fix for that as I find time (and patches welcome in the meantime ;)
>>
>> Cheers,
>>
>> Mark
>


Re: Windows 0.11 snapshot

Posted by Noah Slater <ns...@tumbolia.org>.
Might want to get this fixed for the release Mark.

The release artefact should have an sha1 and md5 hash in the same directory.

Check the Verifying Releases section here:

http://couchdb.apache.org/downloads.html

Your files will need to pass this.

On 25 Feb 2010, at 03:37, Mark Hammond wrote:

> On 25/02/2010 1:51 PM, Nicholas Orr wrote:
>> The md5 file is expecting the file to be in a dir called windows - might
>> want to update the md5 :)
> 
> The md5 is auto-generated by the Makefile in the 'etc' directory - I'll make a fix for that as I find time (and patches welcome in the meantime ;)
> 
> Cheers,
> 
> Mark


Re: Windows 0.11 snapshot

Posted by Mark Hammond <sk...@gmail.com>.
On 25/02/2010 1:51 PM, Nicholas Orr wrote:
> The md5 file is expecting the file to be in a dir called windows - might
> want to update the md5 :)

The md5 is auto-generated by the Makefile in the 'etc' directory - I'll 
make a fix for that as I find time (and patches welcome in the meantime ;)

Cheers,

Mark

Re: Windows 0.11 snapshot

Posted by Nicholas Orr <ni...@zxgen.net>.
The md5 file is expecting the file to be in a dir called windows - might
want to update the md5 :)

2010/2/25 Mark Hammond <mh...@skippinet.com.au>

> Hi all,
>  With 0.11 not far away, I've put up a Windows snapshot for testing built
> from the 0.11 branch.  It would be great if people could have a play and
> report any problems they see.  Note however that almost all the 'problems'
> in the 0.10 build (eg, compacting databases or views) still exist - while we
> do have a good plan for fixing those problems, it seems a little unlikely
> they will be ready for 0.11
>
> Snapshots at:
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
>
> and I even signed it in anticipation of needing to do so for official
> releases...
>
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
>
>
> Cheers,
>
> Mark
>

Re: Windows 0.11 snapshot

Posted by Juhani Ränkimies <ju...@juranki.com>.
On Sat, Feb 27, 2010 at 1:00 AM, Mark Hammond <sk...@gmail.com> wrote:

> Regarding the file versioning - I'm sorry that we haven't kept you in the
> loop a little better, but with Damien's guidance we think we have found a
> better strategy for this.

nb, it's great that the issue gets attention.

>
> The root of this strategy comes from a realization that if a file is opened
> on windows with FILE_SHARE_DELETE, the file can be deleted *or renamed*
> while it is open.  One limitation is that a file of the same name can not be
> re-created while the old one still has handles open (the 'deleted but still
> open' file still appears in directory listings until the handle is closed,
> for example)
>
> Given this, what we can do is something like:
>
> * Arrange for erlang to be able to open the DB and view files with this
> flag.
> * Instead of deleting a file before replacing it, we first rename the file
> to a unique name (ie, based on a UUID) in a special directory.
> * As couch starts up, attempt to delete any old files in this special
> directory.  In theory, no such files should exist - the OS should take care
> of actually removing any such files even if erlang crashes.
>
> The end result of this is that things can be made to work with a lot less
> friction than the 'file versioning' scheme.  I've a patch to couchdb that
> works when used with a patch to erlang to open *all* files with that flag.
>  The next step down this path seems to be to create an erlang 'port driver'
> for disk IO and use this instead of the builtin erlang file objects.  We've
> identified a 'bfile' erlang port driver we may be able to fork and adapt to
> our needs - using our own port driver would also allow optimizations to the
> file IO for non-windows platforms (eg, indicate to the OS that certain files
> should not get OS-level caching, etc)
>

Sounds like a good plan. I noticed Jan just filed a proposal to
erlang-patches for adding FILE_SHARE_DELETE flag to CreateFile in
erts.

> Unfortunately, none of this has been discussed anywhere formal - much of it
> was on IRC - so I apologize if this is the first you heard of it. But
> whatever strategy we wind up with for this is almost certainly not going to
> land and be tested enough to make 0.11.

Any idea when it'll land to trunk?
I could use a rough estimate to decide if I should temporarily deploy
the file versioning patch.


cheers,
-juhani

Re: Windows 0.11 snapshot

Posted by Mark Hammond <sk...@gmail.com>.
On 26/02/2010 4:18 PM, Juhani Ränkimies wrote:
>
> The branch is an experiment, trying to find a solution for the
> compaction and db-delete problems on windows

Ack - I should have guessed - sorry about that :)

> There is one patch specific to the windows build process; for the case
> when path to inno setup contains spaces.
> http://github.com/juranki/couchdb/commit/0d5ec88f08a0519fdf9521730361c6da0c3d4cb4

I've incorporated that one.

Regarding the file versioning - I'm sorry that we haven't kept you in 
the loop a little better, but with Damien's guidance we think we have 
found a better strategy for this.

The root of this strategy comes from a realization that if a file is 
opened on windows with FILE_SHARE_DELETE, the file can be deleted *or 
renamed* while it is open.  One limitation is that a file of the same 
name can not be re-created while the old one still has handles open (the 
'deleted but still open' file still appears in directory listings until 
the handle is closed, for example)

Given this, what we can do is something like:

* Arrange for erlang to be able to open the DB and view files with this 
flag.
* Instead of deleting a file before replacing it, we first rename the 
file to a unique name (ie, based on a UUID) in a special directory.
* As couch starts up, attempt to delete any old files in this special 
directory.  In theory, no such files should exist - the OS should take 
care of actually removing any such files even if erlang crashes.

The end result of this is that things can be made to work with a lot 
less friction than the 'file versioning' scheme.  I've a patch to 
couchdb that works when used with a patch to erlang to open *all* files 
with that flag.  The next step down this path seems to be to create an 
erlang 'port driver' for disk IO and use this instead of the builtin 
erlang file objects.  We've identified a 'bfile' erlang port driver we 
may be able to fork and adapt to our needs - using our own port driver 
would also allow optimizations to the file IO for non-windows platforms 
(eg, indicate to the OS that certain files should not get OS-level 
caching, etc)

Unfortunately, none of this has been discussed anywhere formal - much of 
it was on IRC - so I apologize if this is the first you heard of it. 
But whatever strategy we wind up with for this is almost certainly not 
going to land and be tested enough to make 0.11.

Cheers,

Mark

Re: Windows 0.11 snapshot

Posted by Juhani Ränkimies <ju...@juranki.com>.
On Fri, Feb 26, 2010 at 1:06 AM, Mark Hammond <mh...@skippinet.com.au> wrote:
> On 26/02/2010 4:22 AM, Juhani Ränkimies wrote:
>>
>> Hi,
>>
>> There's a new variation of the file versioning scheme and I'd
>> appreciate if you'd check it out.
>>
>> Binary: http://github.com/juranki/couchdb/downloads
>> Source: http://github.com/juranki/couchdb
>
> I'm not sure exactly what you are asking me to check out.  That fork has
> patches specific to the Windows build process?  Patches not specific to
> windows but which you think are worthwhile anyway?  Something else?
>
> Either way, a description of what you are trying to show us is probably
> helpful...
>
> Cheers,
>
> Mark
>

The branch is an experiment, trying to find a solution for the
compaction and db-delete problems on windows

There is one patch specific to the windows build process; for the case
when path to inno setup contains spaces.
http://github.com/juranki/couchdb/commit/0d5ec88f08a0519fdf9521730361c6da0c3d4cb4

-juhani

Re: Windows 0.11 snapshot

Posted by Mark Hammond <mh...@skippinet.com.au>.
On 26/02/2010 4:22 AM, Juhani Ränkimies wrote:
> Hi,
>
> There's a new variation of the file versioning scheme and I'd
> appreciate if you'd check it out.
>
> Binary: http://github.com/juranki/couchdb/downloads
> Source: http://github.com/juranki/couchdb

I'm not sure exactly what you are asking me to check out.  That fork has 
patches specific to the Windows build process?  Patches not specific to 
windows but which you think are worthwhile anyway?  Something else?

Either way, a description of what you are trying to show us is probably 
helpful...

Cheers,

Mark

Re: Windows 0.11 snapshot

Posted by Juhani Ränkimies <ju...@juranki.com>.
Hi,

There's a new variation of the file versioning scheme and I'd
appreciate if you'd check it out.

Binary: http://github.com/juranki/couchdb/downloads
Source: http://github.com/juranki/couchdb

-juhani

On Thu, Feb 25, 2010 at 3:18 AM, Mark Hammond <mh...@skippinet.com.au> wrote:
> Hi all,
>  With 0.11 not far away, I've put up a Windows snapshot for testing built
> from the 0.11 branch.  It would be great if people could have a play and
> report any problems they see.  Note however that almost all the 'problems'
> in the 0.10 build (eg, compacting databases or views) still exist - while we
> do have a good plan for fixing those problems, it seems a little unlikely
> they will be ready for 0.11
>
> Snapshots at:
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.md5
>
> and I even signed it in anticipation of needing to do so for official
> releases...
>
> http://people.apache.org/~mhammond/dist/snapshots/setup-couchdb-0.11.0b915670.exe.asc
>
>
> Cheers,
>
> Mark
>


-- 
Juhani Ränkimies
+358 40 762 4323