You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Damien Katz <da...@apache.org> on 2010/06/24 00:47:44 UTC

1.0 Vote

I think we are really close to being ready for 1.0.

Are there any issues/patches that need to be handled before we make a release and vote on it?

Noah, do you have any issues, and can you make the branch and release candidate?

One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.

-Damien

Re: 1.0 Vote

Posted by Benoit Chesneau <bc...@gmail.com>.
On Thu, Jun 24, 2010 at 12:47 AM, Damien Katz <da...@apache.org> wrote:
> I think we are really close to being ready for 1.0.
>
> Are there any issues/patches that need to be handled before we make a release and vote on it?

There is some rewriter patches I should merge in the 1.0 for the
rewriter. Will do today. Except that it seems ok.

- benoit

Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
On 23 Jun 2010, at 23:47, Damien Katz wrote:

> I think we are really close to being ready for 1.0.

Cool.

> Noah, do you have any issues, and can you make the branch and release candidate?

The usual procedure is that I call a RFC on the release.

It seems you've done that now, so we can skip that.

Once the RFC has run its course, I will prepare a release artefact and call a vote.


Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
I think I've fixed the windows file issues and the occasional hang (happens when erlang fails to restart fast enough, it shut's itself down). I switched to launching using werl instead of erl, which fixes the problem. For production use, erl can still be used just fine, _restart isn't supposed to be used in production.

Mark, can you verify it's fixed on your end?

-Damien

 
On Jun 27, 2010, at 9:38 PM, Juhani Ränkimies wrote:

> On Sun, Jun 27, 2010 at 9:10 AM, Mark Hammond <sk...@gmail.com> wrote:
>> On 27/06/2010 12:01 PM, Damien Katz wrote:
>>> 
>>> Mark, looks like it's the file:sync calls. Can you try this patch?
>>> 
>>> Index: src/couchdb/couch_file.erl
>>> ===================================================================
>>> --- src/couchdb/couch_file.erl  (revision 957790)
>>> +++ src/couchdb/couch_file.erl  (working copy)
>>> @@ -148,7 +148,7 @@
>>>  %%----------------------------------------------------------------------
>>> 
>>>  sync(Filepath) when is_list(Filepath) ->
>>> -    {ok, Fd} = file:open(Filepath, [read, raw]),
>>> +    {ok, Fd} = file:open(Filepath, [write, raw]),
>>>      try file:sync(Fd) after file:close(Fd) end;
>>>  sync(Fd) ->
>>>      gen_server:call(Fd, sync, infinity).
>> 
>> I made that patch and it looked good for a while.  The 'all_docs' test
>> passes, but the 'basics' test fails with the traceback at
>> http://pastebin.com/6ZZU8B6q.  As you will see at the end, couch itself
>> stopped, so no other requests could be made.
>> 
>> Attempting to restart couch then failed with a similar traceback at it comes
>> up - http://pastebin.com/4A1QEDq3.  My reading of it is that the DB is
>> somehow corrupted (it can't find a valid header).  If I stop couch, delete
>> all .couch files from the file-system and restart, it starts up fine again
>> and re-attempting the 'basics' test does exactly the same thing again.
>> 
>> Note that all the above was after re-enabling the auth database, but I don't
>> think the problem is related to that specifically.
>> 
>> Mark
>> 
> 
> Opening in append mode in sync/1 helps for 'basics' test. But there is
> still something wrong. The server hangs in different tests when trying
> to 'Run All'.
> 
> diff --git a/src/couchdb/couch_file.erl b/src/couchdb/couch_file.erl
> index 8c82272..6671bcc 100644
> --- a/src/couchdb/couch_file.erl
> +++ b/src/couchdb/couch_file.erl
> @@ -148,7 +148,7 @@ truncate(Fd, Pos) ->
> %%----------------------------------------------------------------------
> 
> sync(Filepath) when is_list(Filepath) ->
> -    {ok, Fd} = file:open(Filepath, [read, raw]),
> +    {ok, Fd} = file:open(Filepath, [append, raw]),
>     try file:sync(Fd) after file:close(Fd) end;
> sync(Fd) ->
>     gen_server:call(Fd, sync, infinity).
> 
> 
> -juhani


Re: 1.0 Vote

Posted by Juhani Ränkimies <ju...@juranki.com>.
On Mon, Jun 28, 2010 at 7:38 AM, Juhani Ränkimies <ju...@juranki.com> wrote:
...
>
> Opening in append mode in sync/1 helps for 'basics' test. But there is
> still something wrong. The server hangs in different tests when trying
> to 'Run All'.
>

With the patch below, most Futon tests succeed on windows.

For some reason, on my system repeating init:restart/0 many times
causes erlang vm to crash. Don't know if it's just my build of R14A or
erlang on windows in general. Replacing
couch_server_sup:restart_core_server/0 with the old implementation
helped for that.

DB deletion still failed occationally when the previous .delete file
for the db still existed. Adding a uuid to the .delete filename fixed
that.

With the patch these tests still fail:

'uuids' fails consistently with ~930 of these
# Assertion 'u1 < u2, "UTC uuids are only roughly ordered, so this
assertion may fail occasionally. Don't sweat it."' failed: UTC uuids
are only roughly ordered, so this assertion may fail occasionally.
Don't sweat it.

'rev_stemming' fails consistently with
# Assertion 'should return a truncated revision list' failed: expected
'5', got '6'

'view_include_docs' fails consistently with
# Assertion failed: !resp.rows[0].doc
# Assertion failed: resp.rows[0].doc == null

'compact' sometimes fails with
# Assertion failed: db.info().disk_size < deletesize

'attachments' sometimes fails with
# Assertion 'should send 201 Accepted' failed: expected '201', got '500'
# Assertion 'should send 201 Accepted' failed: expected '201', got '400'

'changes' sometimes fails with
# Exception raised: "timeout: change_lines"

-juhani

--------------------------------------------------------------------------


diff --git a/src/couchdb/couch_file.erl b/src/couchdb/couch_file.erl
index 8c82272..e9cd83a 100644
--- a/src/couchdb/couch_file.erl
+++ b/src/couchdb/couch_file.erl
@@ -148,7 +148,7 @@ truncate(Fd, Pos) ->
 %%----------------------------------------------------------------------

 sync(Filepath) when is_list(Filepath) ->
-    {ok, Fd} = file:open(Filepath, [read, raw]),
+    {ok, Fd} = file:open(Filepath, [append, raw]),
     try file:sync(Fd) after file:close(Fd) end;
 sync(Fd) ->
     gen_server:call(Fd, sync, infinity).
@@ -171,9 +171,10 @@ close(Fd) ->
     end.

 delete(Filepath) ->
-    case file:rename(Filepath, Filepath ++ ".delete") of
+    DeleteFilepath = Filepath ++ binary_to_list(couch_uuids:new()) ++
".delete",
+    case file:rename(Filepath, DeleteFilepath) of
     ok ->
-        spawn(file, delete, [Filepath ++ ".delete"]),
+        spawn(file, delete, [DeleteFilepath]),
         ok;
     Error ->
         Error
diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl
index 1484982..df8bf3f 100644
--- a/src/couchdb/couch_server_sup.erl
+++ b/src/couchdb/couch_server_sup.erl
@@ -32,7 +32,13 @@ start_link(IniFiles) ->
     end.

 restart_core_server() ->
-    init:restart().
+    supervisor:terminate_child(couch_primary_services, couch_server),
+    supervisor:terminate_child(couch_secondary_services, stats_aggregator),
+    supervisor:terminate_child(couch_secondary_services, stats_collector),
+    supervisor:restart_child(couch_primary_services, couch_server),
+    supervisor:restart_child(couch_secondary_services, stats_collector),
+    supervisor:restart_child(couch_secondary_services, stats_aggregator).
+%    init:restart().

 couch_config_start_link_wrapper(IniFiles, FirstConfigPid) ->
     case is_process_alive(FirstConfigPid) of

Re: 1.0 Vote

Posted by Juhani Ränkimies <ju...@juranki.com>.
On Sun, Jun 27, 2010 at 9:10 AM, Mark Hammond <sk...@gmail.com> wrote:
> On 27/06/2010 12:01 PM, Damien Katz wrote:
>>
>> Mark, looks like it's the file:sync calls. Can you try this patch?
>>
>> Index: src/couchdb/couch_file.erl
>> ===================================================================
>> --- src/couchdb/couch_file.erl  (revision 957790)
>> +++ src/couchdb/couch_file.erl  (working copy)
>> @@ -148,7 +148,7 @@
>>  %%----------------------------------------------------------------------
>>
>>  sync(Filepath) when is_list(Filepath) ->
>> -    {ok, Fd} = file:open(Filepath, [read, raw]),
>> +    {ok, Fd} = file:open(Filepath, [write, raw]),
>>      try file:sync(Fd) after file:close(Fd) end;
>>  sync(Fd) ->
>>      gen_server:call(Fd, sync, infinity).
>
> I made that patch and it looked good for a while.  The 'all_docs' test
> passes, but the 'basics' test fails with the traceback at
> http://pastebin.com/6ZZU8B6q.  As you will see at the end, couch itself
> stopped, so no other requests could be made.
>
> Attempting to restart couch then failed with a similar traceback at it comes
> up - http://pastebin.com/4A1QEDq3.  My reading of it is that the DB is
> somehow corrupted (it can't find a valid header).  If I stop couch, delete
> all .couch files from the file-system and restart, it starts up fine again
> and re-attempting the 'basics' test does exactly the same thing again.
>
> Note that all the above was after re-enabling the auth database, but I don't
> think the problem is related to that specifically.
>
> Mark
>

Opening in append mode in sync/1 helps for 'basics' test. But there is
still something wrong. The server hangs in different tests when trying
to 'Run All'.

diff --git a/src/couchdb/couch_file.erl b/src/couchdb/couch_file.erl
index 8c82272..6671bcc 100644
--- a/src/couchdb/couch_file.erl
+++ b/src/couchdb/couch_file.erl
@@ -148,7 +148,7 @@ truncate(Fd, Pos) ->
 %%----------------------------------------------------------------------

 sync(Filepath) when is_list(Filepath) ->
-    {ok, Fd} = file:open(Filepath, [read, raw]),
+    {ok, Fd} = file:open(Filepath, [append, raw]),
     try file:sync(Fd) after file:close(Fd) end;
 sync(Fd) ->
     gen_server:call(Fd, sync, infinity).


-juhani

Re: 1.0 Vote

Posted by Mark Hammond <sk...@gmail.com>.
On 27/06/2010 12:01 PM, Damien Katz wrote:
> Mark, looks like it's the file:sync calls. Can you try this patch?
>
> Index: src/couchdb/couch_file.erl
> ===================================================================
> --- src/couchdb/couch_file.erl	(revision 957790)
> +++ src/couchdb/couch_file.erl	(working copy)
> @@ -148,7 +148,7 @@
>   %%----------------------------------------------------------------------
>
>   sync(Filepath) when is_list(Filepath) ->
> -    {ok, Fd} = file:open(Filepath, [read, raw]),
> +    {ok, Fd} = file:open(Filepath, [write, raw]),
>       try file:sync(Fd) after file:close(Fd) end;
>   sync(Fd) ->
>       gen_server:call(Fd, sync, infinity).

I made that patch and it looked good for a while.  The 'all_docs' test 
passes, but the 'basics' test fails with the traceback at 
http://pastebin.com/6ZZU8B6q.  As you will see at the end, couch itself 
stopped, so no other requests could be made.

Attempting to restart couch then failed with a similar traceback at it 
comes up - http://pastebin.com/4A1QEDq3.  My reading of it is that the 
DB is somehow corrupted (it can't find a valid header).  If I stop 
couch, delete all .couch files from the file-system and restart, it 
starts up fine again and re-attempting the 'basics' test does exactly 
the same thing again.

Note that all the above was after re-enabling the auth database, but I 
don't think the problem is related to that specifically.

Mark

Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
Mark, looks like it's the file:sync calls. Can you try this patch?

Index: src/couchdb/couch_file.erl
===================================================================
--- src/couchdb/couch_file.erl	(revision 957790)
+++ src/couchdb/couch_file.erl	(working copy)
@@ -148,7 +148,7 @@
 %%----------------------------------------------------------------------
 
 sync(Filepath) when is_list(Filepath) ->
-    {ok, Fd} = file:open(Filepath, [read, raw]),
+    {ok, Fd} = file:open(Filepath, [write, raw]),
     try file:sync(Fd) after file:close(Fd) end;
 sync(Fd) ->
     gen_server:call(Fd, sync, infinity).


On Jun 26, 2010, at 6:50 PM, Mark Hammond wrote:

> On 27/06/2010 5:35 AM, Damien Katz wrote:
>> This looks like the auth_cache process can't create the _users db,
>> though I'm not sure why it would have that problem. It might be
>> windows can't create dbs at all.
> 
> It did create var/lib/couchdb/_users.couch before it failed.
>> 
>> Can you remove this from your default.ini:
>> auth_cache={couch_auth_cache, start_link, []}
>> 
>> Then try to create a new db from futon?
> 
> That seems to work.  The test suite fails in all kinds of ways - but none appear to be permissions related as we saw before.  It is now in the state where tests are all reporting I'm not a server admin and are refusing to re-run until I restart couch.
> 
> At least some of the failures report the same traceback as before - eg, the first test, 'basics', reports as below.
> 
> Also, I forgot to mention I'm doing this from the trunk - even after reading the other messages in this thread I'm not sure if that is correct or not...
> 
> Cheers,
> 
> Mark
> 
> 1> [error] [<0.123.0>] ** Generic server <0.123.0> terminating
> ** Last message in was full_commit
> ** When Server state == {db,<0.122.0>,<0.123.0>,nil,<<"1277603206803340">>,
>                            <0.120.0>,<0.124.0>,
>                            {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
>                            0,
>                            {btree,<0.120.0>,
>                                   {3865,{5,1}},
>                                   #Fun<couch_db_updater.7.22788535>,
>                                   #Fun<couch_db_updater.8.125873265>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.9.64028419>},
>                            {btree,<0.120.0>,
>                                   {4382,6},
>                                   #Fun<couch_db_updater.10.43731383>,
>                                   #Fun<couch_db_updater.11.52950010>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.12.74260996>},
> {btree,<0.120.0>,nil,#Fun<couch_btree.0.83553141>,
>                                   #Fun<couch_btree.1.30790806>,
>                                   #Fun<couch_btree.2.124754102>,nil},
>                            8,<<"test_suite_db">>,
>                            "../var/lib/couchdb/test_suite_db.couch",[],[],
>                            nil,
>                            {user_ctx,null,[],undefined},
>                            #Ref<0.0.0.339>,1000,
>                            [before_header,after_header,on_file_open],
>                            false}
> ** Reason for termination ==
> ** {{badmatch,{error,unknown}},
>    [{couch_db_updater,commit_data,2},
>     {couch_db_updater,handle_call,3},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
> 
> 1>
> 


Re: 1.0 Vote

Posted by Filipe David Manana <fd...@apache.org>.
I suspect it's due to nginx's config.

On Mon, Jul 5, 2010 at 10:44 PM, Damien Katz <da...@apache.org> wrote:

> Can someone create a failing test? Reading the comments on COUCHDB-720, I'm
> not sure if there is actually a bug, or it's just a config issue.
>
> -Damien
>
>
> On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:
>
> > I'd like to suggest we resolve this ticket before 1.0, so that
> replication works as advertised.
> >
> > https://issues.apache.org/jira/browse/COUCHDB-720
> >
> > Hopefully it will be easy. Has anyone started digging into it yet?
> >
> > Chris
> >
> >
> > On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
> >
> >> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
> >>
> >> All tests are passing.
> >>
> >> On 05.07.2010, at 21:37, Filipe David Manana wrote:
> >>
> >>> +1
> >>>
> >>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
> >>> Mandriva GNU/Linux).
> >>>
> >>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com>
> wrote:
> >>>
> >>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >>>>>
> >>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
> >>>>>
> >>>>>>
> >>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> >>>>>>
> >>>>>>> So I went through both trunk and 0.11.x looking for things that are
> out
> >>>> of place. I fixed one small thing in 0.11.x, and as far as I'm
> concerned it
> >>>> is ready for release.
> >>>>>>>
> >>>>>>> For trunk, I think there are a couple of small patches that Adam
> wants
> >>>> to hold back for 1.1. There is also the Windows stuff, which looks
> like we
> >>>> should wait for, before cutting 1.0.
> >>>>>>
> >>>>>> I am waiting for a go command, so just let me know.
> >>>>>>
> >>>>>> Please can everyone check that "make distcheck" is working for them.
> >>>>>>
> >>>>>> Let's try to avoid the test failures again for this release.
> >>>>>
> >>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu
> Karmic.
> >>>>>
> >>>>> Would love to see more people sending in results here :)
> >>>>>
> >>>>> Cheers
> >>>>> Jan
> >>>>> --
> >>>>>
> >>>>>
> >>>>
> >>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
> >>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
> >>>>
> >>>> - benoit
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Filipe David Manana,
> >>> fdmanana@apache.org
> >>>
> >>> "Reasonable men adapt themselves to the world.
> >>> Unreasonable men adapt the world to themselves.
> >>> That's why all progress depends on unreasonable men."
> >>
> >
>
>


-- 
Filipe David Manana,
fdmanana@apache.org

"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."

Re: 1.0 Vote

Posted by Klaus Trainer <kl...@web.de>.
Hi Damien,

I've finally succeeded running CouchDB from trunk (after having to solve
some "invalid UTF-8 JSON" and LD_LIBRARY_PATH problems) and all tests
pass successfully :)

The issue I have with version 0.10.0 does not exist in trunk anymore,
since when running tests from the Test Suite, CouchDB will be put in
Admin Party mode, i.e., all admin accounts are removed from the
configuration.

Cheers,
Klaus


On Mon, 2010-07-05 at 15:00 -0700, Damien Katz wrote:
> On Jul 5, 2010, at 2:56 PM, Klaus Trainer wrote:
> 
> > With version 0.10.0 (I haven't tested it with other versions) it seems
> > to be quite easy to create a failing test.
> 
> Can you attach your failing test script to the bug? Then someone else can validate if it's fixed in trunk.
> 
> Thanks.
> 
> -Damien
> 
> > 
> > Just set up an admin account the way it is described here:
> > http://wiki.apache.org/couchdb/Setting_up_an_Admin_account
> > 
> > If that were a config issue for some reason, we should definitely fix
> > the documentation...
> > 
> > Cheers,
> > Klaus
> > 
> > 
> > On Mon, 2010-07-05 at 14:44 -0700, Damien Katz wrote:
> >> Can someone create a failing test? Reading the comments on COUCHDB-720, I'm not sure if there is actually a bug, or it's just a config issue.
> >> 
> >> -Damien
> >> 
> >> 
> >> On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:
> >> 
> >>> I'd like to suggest we resolve this ticket before 1.0, so that replication works as advertised.
> >>> 
> >>> https://issues.apache.org/jira/browse/COUCHDB-720
> >>> 
> >>> Hopefully it will be easy. Has anyone started digging into it yet?
> >>> 
> >>> Chris
> >>> 
> >>> 
> >>> On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
> >>> 
> >>>> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
> >>>> 
> >>>> All tests are passing.
> >>>> 
> >>>> On 05.07.2010, at 21:37, Filipe David Manana wrote:
> >>>> 
> >>>>> +1
> >>>>> 
> >>>>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
> >>>>> Mandriva GNU/Linux).
> >>>>> 
> >>>>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
> >>>>> 
> >>>>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >>>>>>> 
> >>>>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
> >>>>>>> 
> >>>>>>>> 
> >>>>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> >>>>>>>> 
> >>>>>>>>> So I went through both trunk and 0.11.x looking for things that are out
> >>>>>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
> >>>>>> is ready for release.
> >>>>>>>>> 
> >>>>>>>>> For trunk, I think there are a couple of small patches that Adam wants
> >>>>>> to hold back for 1.1. There is also the Windows stuff, which looks like we
> >>>>>> should wait for, before cutting 1.0.
> >>>>>>>> 
> >>>>>>>> I am waiting for a go command, so just let me know.
> >>>>>>>> 
> >>>>>>>> Please can everyone check that "make distcheck" is working for them.
> >>>>>>>> 
> >>>>>>>> Let's try to avoid the test failures again for this release.
> >>>>>>> 
> >>>>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
> >>>>>>> 
> >>>>>>> Would love to see more people sending in results here :)
> >>>>>>> 
> >>>>>>> Cheers
> >>>>>>> Jan
> >>>>>>> --
> >>>>>>> 
> >>>>>>> 
> >>>>>> 
> >>>>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
> >>>>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
> >>>>>> 
> >>>>>> - benoit
> >>>>>> 
> >>>>> 
> >>>>> 
> >>>>> 
> >>>>> -- 
> >>>>> Filipe David Manana,
> >>>>> fdmanana@apache.org
> >>>>> 
> >>>>> "Reasonable men adapt themselves to the world.
> >>>>> Unreasonable men adapt the world to themselves.
> >>>>> That's why all progress depends on unreasonable men."
> >>>> 
> >>> 
> >> 
> > 
> > 
> 



Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
On Jul 5, 2010, at 2:56 PM, Klaus Trainer wrote:

> With version 0.10.0 (I haven't tested it with other versions) it seems
> to be quite easy to create a failing test.

Can you attach your failing test script to the bug? Then someone else can validate if it's fixed in trunk.

Thanks.

-Damien

> 
> Just set up an admin account the way it is described here:
> http://wiki.apache.org/couchdb/Setting_up_an_Admin_account
> 
> If that were a config issue for some reason, we should definitely fix
> the documentation...
> 
> Cheers,
> Klaus
> 
> 
> On Mon, 2010-07-05 at 14:44 -0700, Damien Katz wrote:
>> Can someone create a failing test? Reading the comments on COUCHDB-720, I'm not sure if there is actually a bug, or it's just a config issue.
>> 
>> -Damien
>> 
>> 
>> On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:
>> 
>>> I'd like to suggest we resolve this ticket before 1.0, so that replication works as advertised.
>>> 
>>> https://issues.apache.org/jira/browse/COUCHDB-720
>>> 
>>> Hopefully it will be easy. Has anyone started digging into it yet?
>>> 
>>> Chris
>>> 
>>> 
>>> On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
>>> 
>>>> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
>>>> 
>>>> All tests are passing.
>>>> 
>>>> On 05.07.2010, at 21:37, Filipe David Manana wrote:
>>>> 
>>>>> +1
>>>>> 
>>>>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
>>>>> Mandriva GNU/Linux).
>>>>> 
>>>>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
>>>>> 
>>>>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>>>>>> 
>>>>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>>>>>>>> 
>>>>>>>>> So I went through both trunk and 0.11.x looking for things that are out
>>>>>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
>>>>>> is ready for release.
>>>>>>>>> 
>>>>>>>>> For trunk, I think there are a couple of small patches that Adam wants
>>>>>> to hold back for 1.1. There is also the Windows stuff, which looks like we
>>>>>> should wait for, before cutting 1.0.
>>>>>>>> 
>>>>>>>> I am waiting for a go command, so just let me know.
>>>>>>>> 
>>>>>>>> Please can everyone check that "make distcheck" is working for them.
>>>>>>>> 
>>>>>>>> Let's try to avoid the test failures again for this release.
>>>>>>> 
>>>>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
>>>>>>> 
>>>>>>> Would love to see more people sending in results here :)
>>>>>>> 
>>>>>>> Cheers
>>>>>>> Jan
>>>>>>> --
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
>>>>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
>>>>>> 
>>>>>> - benoit
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Filipe David Manana,
>>>>> fdmanana@apache.org
>>>>> 
>>>>> "Reasonable men adapt themselves to the world.
>>>>> Unreasonable men adapt the world to themselves.
>>>>> That's why all progress depends on unreasonable men."
>>>> 
>>> 
>> 
> 
> 


Re: 1.0 Vote

Posted by Filipe David Manana <fd...@apache.org>.
Klaus, I've just replied to your comment for ticket 720.
Does it solve your problem?

On Mon, Jul 5, 2010 at 10:56 PM, Klaus Trainer <kl...@web.de> wrote:

> With version 0.10.0 (I haven't tested it with other versions) it seems
> to be quite easy to create a failing test.
>
> Just set up an admin account the way it is described here:
> http://wiki.apache.org/couchdb/Setting_up_an_Admin_account
>
> If that were a config issue for some reason, we should definitely fix
> the documentation...
>
> Cheers,
> Klaus
>
>
> On Mon, 2010-07-05 at 14:44 -0700, Damien Katz wrote:
> > Can someone create a failing test? Reading the comments on COUCHDB-720,
> I'm not sure if there is actually a bug, or it's just a config issue.
> >
> > -Damien
> >
> >
> > On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:
> >
> > > I'd like to suggest we resolve this ticket before 1.0, so that
> replication works as advertised.
> > >
> > > https://issues.apache.org/jira/browse/COUCHDB-720
> > >
> > > Hopefully it will be easy. Has anyone started digging into it yet?
> > >
> > > Chris
> > >
> > >
> > > On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
> > >
> > >> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
> > >>
> > >> All tests are passing.
> > >>
> > >> On 05.07.2010, at 21:37, Filipe David Manana wrote:
> > >>
> > >>> +1
> > >>>
> > >>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
> > >>> Mandriva GNU/Linux).
> > >>>
> > >>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com>
> wrote:
> > >>>
> > >>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org>
> wrote:
> > >>>>>
> > >>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
> > >>>>>
> > >>>>>>
> > >>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> > >>>>>>
> > >>>>>>> So I went through both trunk and 0.11.x looking for things that
> are out
> > >>>> of place. I fixed one small thing in 0.11.x, and as far as I'm
> concerned it
> > >>>> is ready for release.
> > >>>>>>>
> > >>>>>>> For trunk, I think there are a couple of small patches that Adam
> wants
> > >>>> to hold back for 1.1. There is also the Windows stuff, which looks
> like we
> > >>>> should wait for, before cutting 1.0.
> > >>>>>>
> > >>>>>> I am waiting for a go command, so just let me know.
> > >>>>>>
> > >>>>>> Please can everyone check that "make distcheck" is working for
> them.
> > >>>>>>
> > >>>>>> Let's try to avoid the test failures again for this release.
> > >>>>>
> > >>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu
> Karmic.
> > >>>>>
> > >>>>> Would love to see more people sending in results here :)
> > >>>>>
> > >>>>> Cheers
> > >>>>> Jan
> > >>>>> --
> > >>>>>
> > >>>>>
> > >>>>
> > >>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
> > >>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
> > >>>>
> > >>>> - benoit
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Filipe David Manana,
> > >>> fdmanana@apache.org
> > >>>
> > >>> "Reasonable men adapt themselves to the world.
> > >>> Unreasonable men adapt the world to themselves.
> > >>> That's why all progress depends on unreasonable men."
> > >>
> > >
> >
>
>
>


-- 
Filipe David Manana,
fdmanana@apache.org

"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."

Re: 1.0 Vote

Posted by Klaus Trainer <kl...@web.de>.
With version 0.10.0 (I haven't tested it with other versions) it seems
to be quite easy to create a failing test.

Just set up an admin account the way it is described here:
http://wiki.apache.org/couchdb/Setting_up_an_Admin_account

If that were a config issue for some reason, we should definitely fix
the documentation...

Cheers,
Klaus


On Mon, 2010-07-05 at 14:44 -0700, Damien Katz wrote:
> Can someone create a failing test? Reading the comments on COUCHDB-720, I'm not sure if there is actually a bug, or it's just a config issue.
> 
> -Damien
> 
> 
> On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:
> 
> > I'd like to suggest we resolve this ticket before 1.0, so that replication works as advertised.
> > 
> > https://issues.apache.org/jira/browse/COUCHDB-720
> > 
> > Hopefully it will be easy. Has anyone started digging into it yet?
> > 
> > Chris
> > 
> > 
> > On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
> > 
> >> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
> >> 
> >> All tests are passing.
> >> 
> >> On 05.07.2010, at 21:37, Filipe David Manana wrote:
> >> 
> >>> +1
> >>> 
> >>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
> >>> Mandriva GNU/Linux).
> >>> 
> >>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
> >>> 
> >>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >>>>> 
> >>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
> >>>>> 
> >>>>>> 
> >>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> >>>>>> 
> >>>>>>> So I went through both trunk and 0.11.x looking for things that are out
> >>>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
> >>>> is ready for release.
> >>>>>>> 
> >>>>>>> For trunk, I think there are a couple of small patches that Adam wants
> >>>> to hold back for 1.1. There is also the Windows stuff, which looks like we
> >>>> should wait for, before cutting 1.0.
> >>>>>> 
> >>>>>> I am waiting for a go command, so just let me know.
> >>>>>> 
> >>>>>> Please can everyone check that "make distcheck" is working for them.
> >>>>>> 
> >>>>>> Let's try to avoid the test failures again for this release.
> >>>>> 
> >>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
> >>>>> 
> >>>>> Would love to see more people sending in results here :)
> >>>>> 
> >>>>> Cheers
> >>>>> Jan
> >>>>> --
> >>>>> 
> >>>>> 
> >>>> 
> >>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
> >>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
> >>>> 
> >>>> - benoit
> >>>> 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Filipe David Manana,
> >>> fdmanana@apache.org
> >>> 
> >>> "Reasonable men adapt themselves to the world.
> >>> Unreasonable men adapt the world to themselves.
> >>> That's why all progress depends on unreasonable men."
> >> 
> > 
> 



Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
Can someone create a failing test? Reading the comments on COUCHDB-720, I'm not sure if there is actually a bug, or it's just a config issue.

-Damien


On Jul 5, 2010, at 2:04 PM, J Chris Anderson wrote:

> I'd like to suggest we resolve this ticket before 1.0, so that replication works as advertised.
> 
> https://issues.apache.org/jira/browse/COUCHDB-720
> 
> Hopefully it will be easy. Has anyone started digging into it yet?
> 
> Chris
> 
> 
> On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:
> 
>> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
>> 
>> All tests are passing.
>> 
>> On 05.07.2010, at 21:37, Filipe David Manana wrote:
>> 
>>> +1
>>> 
>>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
>>> Mandriva GNU/Linux).
>>> 
>>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
>>> 
>>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>>>> 
>>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
>>>>> 
>>>>>> 
>>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>>>>>> 
>>>>>>> So I went through both trunk and 0.11.x looking for things that are out
>>>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
>>>> is ready for release.
>>>>>>> 
>>>>>>> For trunk, I think there are a couple of small patches that Adam wants
>>>> to hold back for 1.1. There is also the Windows stuff, which looks like we
>>>> should wait for, before cutting 1.0.
>>>>>> 
>>>>>> I am waiting for a go command, so just let me know.
>>>>>> 
>>>>>> Please can everyone check that "make distcheck" is working for them.
>>>>>> 
>>>>>> Let's try to avoid the test failures again for this release.
>>>>> 
>>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
>>>>> 
>>>>> Would love to see more people sending in results here :)
>>>>> 
>>>>> Cheers
>>>>> Jan
>>>>> --
>>>>> 
>>>>> 
>>>> 
>>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
>>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
>>>> 
>>>> - benoit
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Filipe David Manana,
>>> fdmanana@apache.org
>>> 
>>> "Reasonable men adapt themselves to the world.
>>> Unreasonable men adapt the world to themselves.
>>> That's why all progress depends on unreasonable men."
>> 
> 


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
I'd like to suggest we resolve this ticket before 1.0, so that replication works as advertised.

https://issues.apache.org/jira/browse/COUCHDB-720

Hopefully it will be easy. Has anyone started digging into it yet?

Chris


On Jul 5, 2010, at 1:19 PM, Sebastian Cohnen wrote:

> +1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04
> 
> All tests are passing.
> 
> On 05.07.2010, at 21:37, Filipe David Manana wrote:
> 
>> +1
>> 
>> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
>> Mandriva GNU/Linux).
>> 
>> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
>> 
>>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>>> 
>>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
>>>> 
>>>>> 
>>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>>>>> 
>>>>>> So I went through both trunk and 0.11.x looking for things that are out
>>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
>>> is ready for release.
>>>>>> 
>>>>>> For trunk, I think there are a couple of small patches that Adam wants
>>> to hold back for 1.1. There is also the Windows stuff, which looks like we
>>> should wait for, before cutting 1.0.
>>>>> 
>>>>> I am waiting for a go command, so just let me know.
>>>>> 
>>>>> Please can everyone check that "make distcheck" is working for them.
>>>>> 
>>>>> Let's try to avoid the test failures again for this release.
>>>> 
>>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
>>>> 
>>>> Would love to see more people sending in results here :)
>>>> 
>>>> Cheers
>>>> Jan
>>>> --
>>>> 
>>>> 
>>> 
>>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
>>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
>>> 
>>> - benoit
>>> 
>> 
>> 
>> 
>> -- 
>> Filipe David Manana,
>> fdmanana@apache.org
>> 
>> "Reasonable men adapt themselves to the world.
>> Unreasonable men adapt the world to themselves.
>> That's why all progress depends on unreasonable men."
> 


Re: 1.0 Vote

Posted by Sebastian Cohnen <se...@googlemail.com>.
+1 for trunk (0.12.0a64d82c8-git), OS X 10.6.4, Erlang R13B04

All tests are passing.

On 05.07.2010, at 21:37, Filipe David Manana wrote:

> +1
> 
> All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
> Mandriva GNU/Linux).
> 
> On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:
> 
>> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>> 
>>> On 29 Jun 2010, at 16:38, Noah Slater wrote:
>>> 
>>>> 
>>>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>>>> 
>>>>> So I went through both trunk and 0.11.x looking for things that are out
>> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
>> is ready for release.
>>>>> 
>>>>> For trunk, I think there are a couple of small patches that Adam wants
>> to hold back for 1.1. There is also the Windows stuff, which looks like we
>> should wait for, before cutting 1.0.
>>>> 
>>>> I am waiting for a go command, so just let me know.
>>>> 
>>>> Please can everyone check that "make distcheck" is working for them.
>>>> 
>>>> Let's try to avoid the test failures again for this release.
>>> 
>>> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
>>> 
>>> Would love to see more people sending in results here :)
>>> 
>>> Cheers
>>> Jan
>>> --
>>> 
>>> 
>> 
>> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
>> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
>> 
>> - benoit
>> 
> 
> 
> 
> -- 
> Filipe David Manana,
> fdmanana@apache.org
> 
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."


Re: 1.0 Vote

Posted by Filipe David Manana <fd...@apache.org>.
+1

All tests, JavaScript and Etap, are passing for me (Mac OS X 10.6 and
Mandriva GNU/Linux).

On Sat, Jul 3, 2010 at 4:41 AM, Benoit Chesneau <bc...@gmail.com> wrote:

> On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >
> > On 29 Jun 2010, at 16:38, Noah Slater wrote:
> >
> >>
> >> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> >>
> >>> So I went through both trunk and 0.11.x looking for things that are out
> of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it
> is ready for release.
> >>>
> >>> For trunk, I think there are a couple of small patches that Adam wants
> to hold back for 1.1. There is also the Windows stuff, which looks like we
> should wait for, before cutting 1.0.
> >>
> >> I am waiting for a go command, so just let me know.
> >>
> >> Please can everyone check that "make distcheck" is working for them.
> >>
> >> Let's try to avoid the test failures again for this release.
> >
> > Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
> >
> > Would love to see more people sending in results here :)
> >
> > Cheers
> > Jan
> > --
> >
> >
>
> works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
> (erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),
>
> - benoit
>



-- 
Filipe David Manana,
fdmanana@apache.org

"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."

Re: 1.0 Vote

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sat, Jul 3, 2010 at 1:13 AM, Jan Lehnardt <ja...@apache.org> wrote:
>
> On 29 Jun 2010, at 16:38, Noah Slater wrote:
>
>>
>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>>
>>> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>>>
>>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.
>>
>> I am waiting for a go command, so just let me know.
>>
>> Please can everyone check that "make distcheck" is working for them.
>>
>> Let's try to avoid the test failures again for this release.
>
> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
>
> Would love to see more people sending in results here :)
>
> Cheers
> Jan
> --
>
>

works for me on openbsd 4.7-current (erlang R13b04), macosx 10.6.4
(erlang R13b04 & R14a) and ubuntu lucid (erlang R13b04),

- benoit

Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
Oh yeah, missed that. Added a patch to fix the problem. Thanks Juhani.

-Damien


On Jul 2, 2010, at 5:53 PM, Randall Leeds wrote:

> I'm concerned about Juhani's comment:
> 
> "DB deletion still failed occationally when the previous .delete file
> for the db still existed. Adding a uuid to the .delete filename fixed
> that."
> 
> This seems like a smart thing to add to couch_file:delete. I don't
> know how various systems deal with renaming to a file that exists.
> 
> make distcheck succeeds for 0.11.x and trunk.
> 
> -Randall


Re: 1.0 Vote

Posted by Randall Leeds <ra...@gmail.com>.
I'm concerned about Juhani's comment:

"DB deletion still failed occationally when the previous .delete file
for the db still existed. Adding a uuid to the .delete filename fixed
that."

This seems like a smart thing to add to couch_file:delete. I don't
know how various systems deal with renaming to a file that exists.

make distcheck succeeds for 0.11.x and trunk.

-Randall

Re: 1.0 Vote

Posted by Robert Dionne <di...@dionne-associates.com>.
OS X 10.6.4
Erlang 13B04

make distcheck is fine


On Jul 2, 2010, at 7:13 PM, Jan Lehnardt wrote:

> 
> On 29 Jun 2010, at 16:38, Noah Slater wrote:
> 
>> 
>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>> 
>>> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>>> 
>>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.
>> 
>> I am waiting for a go command, so just let me know.
>> 
>> Please can everyone check that "make distcheck" is working for them.
>> 
>> Let's try to avoid the test failures again for this release.
> 
> Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.
> 
> Would love to see more people sending in results here :)
> 
> Cheers
> Jan
> -- 
> 


Re: 1.0 Vote

Posted by Jan Lehnardt <ja...@apache.org>.
On 29 Jun 2010, at 16:38, Noah Slater wrote:

> 
> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
> 
>> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>> 
>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.
> 
> I am waiting for a go command, so just let me know.
> 
> Please can everyone check that "make distcheck" is working for them.
> 
> Let's try to avoid the test failures again for this release.

Works for me on 0.11.x and trunk and Mac OS X 10.6.4 and Ubuntu Karmic.

Would love to see more people sending in results here :)

Cheers
Jan
-- 


Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
If we're branching and tagging from trunk, then trunk.

On 29 Jun 2010, at 15:48, till wrote:

> On Tue, Jun 29, 2010 at 4:38 PM, Noah Slater <ns...@tumbolia.org> wrote:
>> 
>> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>> 
>>> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>>> 
>>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.
>> 
>> I am waiting for a go command, so just let me know.
>> 
>> Please can everyone check that "make distcheck" is working for them.
>> 
>> Let's try to avoid the test failures again for this release.
> 
> What's the tag to use? trunk?


Re: 1.0 Vote

Posted by till <ti...@php.net>.
On Tue, Jun 29, 2010 at 4:38 PM, Noah Slater <ns...@tumbolia.org> wrote:
>
> On 29 Jun 2010, at 15:20, J Chris Anderson wrote:
>
>> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>>
>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.
>
> I am waiting for a go command, so just let me know.
>
> Please can everyone check that "make distcheck" is working for them.
>
> Let's try to avoid the test failures again for this release.

What's the tag to use? trunk?

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 29, 2010, at 7:38 AM, Noah Slater wrote:

> 
> Please can everyone check that "make distcheck" is working for them.
> 
> Let's try to avoid the test failures again for this release.

`make distcheck` failed with a list of all the .patch files and stuff laying around my CouchDB trunk checkout.

Trying it on a pristine checkout yields:

==============================================================
apache-couchdb-0.12.0a958998 archives ready for distribution: 
apache-couchdb-0.12.0a958998.tar.gz
==============================================================

Chris

Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
On 29 Jun 2010, at 15:20, J Chris Anderson wrote:

> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
> 
> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.

I am waiting for a go command, so just let me know.

Please can everyone check that "make distcheck" is working for them.

Let's try to avoid the test failures again for this release.

Re: 1.0 Vote

Posted by Jan Lehnardt <ja...@apache.org>.
On 29 Jun 2010, at 18:08, Noah Slater wrote:

> 
> On 29 Jun 2010, at 16:40, Benoit Chesneau wrote:
> 
>> Noah was suggesting to give this info from couch-s, but it's not an
>> easy patch and could wait next release imo.  What is the deadline
>> before couch 1.0 ? Shouldn't we wait for erlang R14B and then having
>> ful support for windows version ? Or windows version will be 1.1 ?
> 
> Features in 1.0 should be bedded.
> 
> Windows support has not been broadly tested, so seems to fail this.
> 
> Is R14B likely to cause apropos problems?

CouchDB on Windows will only work with R14A or later (note that the 
A-series are considered pre-releases and the B-series are considered
stable releases by the Erlang/OTP team. R14B is set to be released in
a few months time, R14A has been available for a few weeks.

The fix to Erlang is very minor and not intrusive at all*, so here is what 
I thought we want to do unless R14B was available on 1.0.0-vote time: 

When packaging the Windows installer we apply the patch *to R13B to 
get the correct behaviour and bundle that with the Windows installer.

Simple. Any objections or am I overseeing something?

* http://github.com/erlang/otp/commit/426a5e21ab8306517ecd6d73f253d8dc13e39925

Cheers
Jan
-- 


Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
On 29 Jun 2010, at 16:40, Benoit Chesneau wrote:

> Noah was suggesting to give this info from couch-s, but it's not an
> easy patch and could wait next release imo.  What is the deadline
> before couch 1.0 ? Shouldn't we wait for erlang R14B and then having
> ful support for windows version ? Or windows version will be 1.1 ?

Features in 1.0 should be bedded.

Windows support has not been broadly tested, so seems to fail this.

Is R14B likely to cause apropos problems?

Re: 1.0 Vote

Posted by Benoit Chesneau <bc...@gmail.com>.
On Tue, Jun 29, 2010 at 4:20 PM, J Chris Anderson <jc...@apache.org> wrote:
>
> On Jun 26, 2010, at 7:00 PM, J Chris Anderson wrote:
>
>> [snip]
>>
>> That's correct Mark. Trunk is what you want (although there are a few patches that might not make 1.0)
>>
>> I plan to start a thread for what to keep back for 1.1 and a thread for anything that should be un-backported from 0.11.x, to clear up the last questions.
>
> So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.
>
Would like to put the patch from COUCHDB-393 before we release though.

https://issues.apache.org/jira/browse/COUCHDB-393

This patch is needed to port easily cocuhdb-desktop to other platform
or any other alternative. It could also be used for some operations.

Noah was suggesting to give this info from couch-s, but it's not an
easy patch and could wait next release imo.  What is the deadline
before couch 1.0 ? Shouldn't we wait for erlang R14B and then having
ful support for windows version ? Or windows version will be 1.1 ?


- benoit

Re: 1.0 Vote

Posted by David Coallier <da...@php.net>.
>
> Sorry I didn't see this patch before I implemented a continuous = true checkbox (see trunk now) if your patch is preferable then we can swap it for mine. Should I take the time to apply and test, or is Trunk good?
>

Oh noes! :) Seriously though, that's good. Just close #489

Cheers,

-- 
David Coallier

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 29, 2010, at 11:41 AM, David Coallier wrote:

> On 29 June 2010 18:41, Adam Kocoloski <ko...@apache.org> wrote:
>> On Jun 29, 2010, at 10:20 AM, J Chris Anderson wrote:
>> 
>>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1.
>> 
>> Not a big deal, everything I committed to trunk is pretty stable and tested in production.  I tagged those commits as 1.1 because they weren't strictly bugfixes, but given that we're adding other performance improvements in 1.0 I'd be happy to have them included.
> 
> I'd like to include https://issues.apache.org/jira/browse/COUCHDB-489
> in 1.0 as well.
> 
> Depending on when the 1.0 date is "planned" to be, I'll free some time
> up from work to fix this once and for all.
> 

Sorry I didn't see this patch before I implemented a continuous = true checkbox (see trunk now) if your patch is preferable then we can swap it for mine. Should I take the time to apply and test, or is Trunk good?

Chris

> -- 
> David Coallier


Re: 1.0 Vote

Posted by David Coallier <da...@php.net>.
On 29 June 2010 18:41, Adam Kocoloski <ko...@apache.org> wrote:
> On Jun 29, 2010, at 10:20 AM, J Chris Anderson wrote:
>
>> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1.
>
> Not a big deal, everything I committed to trunk is pretty stable and tested in production.  I tagged those commits as 1.1 because they weren't strictly bugfixes, but given that we're adding other performance improvements in 1.0 I'd be happy to have them included.

I'd like to include https://issues.apache.org/jira/browse/COUCHDB-489
in 1.0 as well.

Depending on when the 1.0 date is "planned" to be, I'll free some time
up from work to fix this once and for all.

-- 
David Coallier

Re: 1.0 Vote

Posted by Adam Kocoloski <ko...@apache.org>.
On Jun 29, 2010, at 10:20 AM, J Chris Anderson wrote:

> For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1.

Not a big deal, everything I committed to trunk is pretty stable and tested in production.  I tagged those commits as 1.1 because they weren't strictly bugfixes, but given that we're adding other performance improvements in 1.0 I'd be happy to have them included.

Thanks for checking,

Adam


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@apache.org>.
On Jun 26, 2010, at 7:00 PM, J Chris Anderson wrote:

> [snip]
> 
> That's correct Mark. Trunk is what you want (although there are a few patches that might not make 1.0)
> 
> I plan to start a thread for what to keep back for 1.1 and a thread for anything that should be un-backported from 0.11.x, to clear up the last questions.

So I went through both trunk and 0.11.x looking for things that are out of place. I fixed one small thing in 0.11.x, and as far as I'm concerned it is ready for release.

For trunk, I think there are a couple of small patches that Adam wants to hold back for 1.1. There is also the Windows stuff, which looks like we should wait for, before cutting 1.0.

Since the lists are so short, I decided I don't feel the need to start a thread for them.

Chris

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 26, 2010, at 6:50 PM, Mark Hammond wrote:

> On 27/06/2010 5:35 AM, Damien Katz wrote:
>> This looks like the auth_cache process can't create the _users db,
>> though I'm not sure why it would have that problem. It might be
>> windows can't create dbs at all.
> 
> It did create var/lib/couchdb/_users.couch before it failed.
>> 
>> Can you remove this from your default.ini:
>> auth_cache={couch_auth_cache, start_link, []}
>> 
>> Then try to create a new db from futon?
> 
> That seems to work.  The test suite fails in all kinds of ways - but none appear to be permissions related as we saw before.  It is now in the state where tests are all reporting I'm not a server admin and are refusing to re-run until I restart couch.
> 
> At least some of the failures report the same traceback as before - eg, the first test, 'basics', reports as below.
> 
> Also, I forgot to mention I'm doing this from the trunk - even after reading the other messages in this thread I'm not sure if that is correct or not...
> 

That's correct Mark. Trunk is what you want (although there are a few patches that might not make 1.0)

I plan to start a thread for what to keep back for 1.1 and a thread for anything that should be un-backported from 0.11.x, to clear up the last questions.

Chris

> Cheers,
> 
> Mark
> 
> 1> [error] [<0.123.0>] ** Generic server <0.123.0> terminating
> ** Last message in was full_commit
> ** When Server state == {db,<0.122.0>,<0.123.0>,nil,<<"1277603206803340">>,
>                            <0.120.0>,<0.124.0>,
>                            {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
>                            0,
>                            {btree,<0.120.0>,
>                                   {3865,{5,1}},
>                                   #Fun<couch_db_updater.7.22788535>,
>                                   #Fun<couch_db_updater.8.125873265>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.9.64028419>},
>                            {btree,<0.120.0>,
>                                   {4382,6},
>                                   #Fun<couch_db_updater.10.43731383>,
>                                   #Fun<couch_db_updater.11.52950010>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.12.74260996>},
> {btree,<0.120.0>,nil,#Fun<couch_btree.0.83553141>,
>                                   #Fun<couch_btree.1.30790806>,
>                                   #Fun<couch_btree.2.124754102>,nil},
>                            8,<<"test_suite_db">>,
>                            "../var/lib/couchdb/test_suite_db.couch",[],[],
>                            nil,
>                            {user_ctx,null,[],undefined},
>                            #Ref<0.0.0.339>,1000,
>                            [before_header,after_header,on_file_open],
>                            false}
> ** Reason for termination ==
> ** {{badmatch,{error,unknown}},
>    [{couch_db_updater,commit_data,2},
>     {couch_db_updater,handle_call,3},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
> 
> 1>
> 


Re: 1.0 Vote

Posted by Mark Hammond <sk...@gmail.com>.
On 27/06/2010 5:35 AM, Damien Katz wrote:
> This looks like the auth_cache process can't create the _users db,
> though I'm not sure why it would have that problem. It might be
> windows can't create dbs at all.

It did create var/lib/couchdb/_users.couch before it failed.
>
> Can you remove this from your default.ini:
> auth_cache={couch_auth_cache, start_link, []}
>
> Then try to create a new db from futon?

That seems to work.  The test suite fails in all kinds of ways - but 
none appear to be permissions related as we saw before.  It is now in 
the state where tests are all reporting I'm not a server admin and are 
refusing to re-run until I restart couch.

At least some of the failures report the same traceback as before - eg, 
the first test, 'basics', reports as below.

Also, I forgot to mention I'm doing this from the trunk - even after 
reading the other messages in this thread I'm not sure if that is 
correct or not...

Cheers,

Mark

1> [error] [<0.123.0>] ** Generic server <0.123.0> terminating
** Last message in was full_commit
** When Server state == {db,<0.122.0>,<0.123.0>,nil,<<"1277603206803340">>,
                             <0.120.0>,<0.124.0>,
                             {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                             0,
                             {btree,<0.120.0>,
                                    {3865,{5,1}},
                                    #Fun<couch_db_updater.7.22788535>,
                                    #Fun<couch_db_updater.8.125873265>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.64028419>},
                             {btree,<0.120.0>,
                                    {4382,6},
                                    #Fun<couch_db_updater.10.43731383>,
                                    #Fun<couch_db_updater.11.52950010>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.74260996>},
 
{btree,<0.120.0>,nil,#Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                             8,<<"test_suite_db">>,
                             "../var/lib/couchdb/test_suite_db.couch",[],[],
                             nil,
                             {user_ctx,null,[],undefined},
                             #Ref<0.0.0.339>,1000,
                             [before_header,after_header,on_file_open],
                             false}
** Reason for termination ==
** {{badmatch,{error,unknown}},
     [{couch_db_updater,commit_data,2},
      {couch_db_updater,handle_call,3},
      {gen_server,handle_msg,5},
      {proc_lib,init_p_do_apply,3}]}

1>


Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
This looks like the auth_cache process can't create the _users db, though I'm not sure why it would have that problem. It might be windows can't create dbs at all.

Can you remove this from your default.ini:
auth_cache={couch_auth_cache, start_link, []}

Then try to create a new db from futon?

-Damien

On Jun 26, 2010, at 12:39 AM, Mark Hammond wrote:

> I had a go at testing Windows, but I see a failure at startup - see below.  I had a quick look at commit_data, but I couldn't see an obvious clue as to what exactly in that function saw the error.
> 
> Cheers,
> 
> Mark
> 
> 1> Apache CouchDB 0.12.0a958186 (LogLevel=info) is starting.
> 1> Apache CouchDB has started. Time to relax.
> 1> [info] [<0.43.0>] Apache CouchDB has started on http://127.0.0.1:5984/
> 1> [error] [<0.97.0>] ** Generic server <0.97.0> terminating
> ** Last message in was delayed_commit
> ** When Server state == {db,<0.96.0>,<0.97.0>,nil,<<"1277537666546000">>,
>                            <0.95.0>,<0.99.0>,
>                            {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
>                            0,
>                            {btree,<0.95.0>,
>                                   {3099,{1,0}},
>                                   #Fun<couch_db_updater.7.22788535>,
>                                   #Fun<couch_db_updater.8.125873265>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.9.64028419>},
>                            {btree,<0.95.0>,
>                                   {3190,1},
>                                   #Fun<couch_db_updater.10.43731383>,
>                                   #Fun<couch_db_updater.11.52950010>,
>                                   #Fun<couch_btree.5.124754102>,
>                                   #Fun<couch_db_updater.12.74260996>},
> {btree,<0.95.0>,nil,#Fun<couch_btree.0.83553141>,
>                                   #Fun<couch_btree.1.30790806>,
>                                   #Fun<couch_btree.2.124754102>,nil},
> 1,<<"_users">>,"../var/lib/couchdb/_users.couch",
>                            [#Fun<couch_doc.7.50754398>],
>                            [],nil,
>                            {user_ctx,null,[],undefined},
>                            #Ref<0.0.0.111>,1000,
>                            [before_header,after_header,on_file_open],
>                            true}
> ** Reason for termination ==
> ** {{badmatch,{error,unknown}},
>    [{couch_db_updater,commit_data,2},
>     {couch_db_updater,handle_info,2},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
> 
> 1>


Re: 1.0 Vote

Posted by Mark Hammond <sk...@gmail.com>.
I had a go at testing Windows, but I see a failure at startup - see 
below.  I had a quick look at commit_data, but I couldn't see an obvious 
clue as to what exactly in that function saw the error.

Cheers,

Mark

1> Apache CouchDB 0.12.0a958186 (LogLevel=info) is starting.
1> Apache CouchDB has started. Time to relax.
1> [info] [<0.43.0>] Apache CouchDB has started on http://127.0.0.1:5984/
1> [error] [<0.97.0>] ** Generic server <0.97.0> terminating
** Last message in was delayed_commit
** When Server state == {db,<0.96.0>,<0.97.0>,nil,<<"1277537666546000">>,
                             <0.95.0>,<0.99.0>,
                             {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                             0,
                             {btree,<0.95.0>,
                                    {3099,{1,0}},
                                    #Fun<couch_db_updater.7.22788535>,
                                    #Fun<couch_db_updater.8.125873265>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.64028419>},
                             {btree,<0.95.0>,
                                    {3190,1},
                                    #Fun<couch_db_updater.10.43731383>,
                                    #Fun<couch_db_updater.11.52950010>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.74260996>},
 
{btree,<0.95.0>,nil,#Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
 
1,<<"_users">>,"../var/lib/couchdb/_users.couch",
                             [#Fun<couch_doc.7.50754398>],
                             [],nil,
                             {user_ctx,null,[],undefined},
                             #Ref<0.0.0.111>,1000,
                             [before_header,after_header,on_file_open],
                             true}
** Reason for termination ==
** {{badmatch,{error,unknown}},
     [{couch_db_updater,commit_data,2},
      {couch_db_updater,handle_info,2},
      {gen_server,handle_msg,5},
      {proc_lib,init_p_do_apply,3}]}

1>

Re: 1.0 Vote

Posted by Paul Bonser <mi...@gmail.com>.
On Thu, Jun 24, 2010 at 10:38 AM, J Chris Anderson <jc...@gmail.com> wrote:
>
> On Jun 23, 2010, at 5:13 PM, Paul Bonser wrote:
>
>> It'd probably be good to get this in 1.0:
>> https://issues.apache.org/jira/browse/COUCHDB-748
>>
>> Not a big bug, but not a big patch either, and it affects anyone with
>> "<", ">", or "&" in their docids or view keys.
>>
>
> I got all set to commit this, except for the fact that I can't reproduce the issue. I don't have this bug on trunk, so either it got fixed already or I'm not reproducing it correctly.

So, looking at it, I guess somebody already fixed the issue with the
keys and IDs on the first line. But the issue with the IDs on the
second line is still there.

>
> Can anyone reproduce the issue, and give me a hint how.

Create a doc with an id of "&amp;<foo>", then go to the "All
Documents" page. On the first line you'll see "&amp;<foo>", but on the
second line all you'll see is "&"

I've updated the patch once again to only have the necessary changes,
namely: moving the nested escape function to $.futon.escape so it can
be used externally, and using it to escape the ID on the second line
of each line in the document list.

>
> Thanks,
> Chris
>
>> On Wed, Jun 23, 2010 at 5:47 PM, Damien Katz <da...@apache.org> wrote:
>>> I think we are really close to being ready for 1.0.
>>>
>>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>>>
>>> Noah, do you have any issues, and can you make the branch and release candidate?
>>>
>>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>>>
>>> -Damien
>>
>>
>>
>> --
>> Paul Bonser
>> http://probablyprogramming.com
>
>



-- 
Paul Bonser
http://probablyprogramming.com

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 23, 2010, at 5:13 PM, Paul Bonser wrote:

> It'd probably be good to get this in 1.0:
> https://issues.apache.org/jira/browse/COUCHDB-748
> 
> Not a big bug, but not a big patch either, and it affects anyone with
> "<", ">", or "&" in their docids or view keys.
> 

I got all set to commit this, except for the fact that I can't reproduce the issue. I don't have this bug on trunk, so either it got fixed already or I'm not reproducing it correctly.

Can anyone reproduce the issue, and give me a hint how.

Thanks,
Chris

> On Wed, Jun 23, 2010 at 5:47 PM, Damien Katz <da...@apache.org> wrote:
>> I think we are really close to being ready for 1.0.
>> 
>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>> 
>> Noah, do you have any issues, and can you make the branch and release candidate?
>> 
>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>> 
>> -Damien
> 
> 
> 
> -- 
> Paul Bonser
> http://probablyprogramming.com


Re: 1.0 Vote

Posted by Paul Bonser <mi...@gmail.com>.
It'd probably be good to get this in 1.0:
https://issues.apache.org/jira/browse/COUCHDB-748

Not a big bug, but not a big patch either, and it affects anyone with
"<", ">", or "&" in their docids or view keys.

On Wed, Jun 23, 2010 at 5:47 PM, Damien Katz <da...@apache.org> wrote:
> I think we are really close to being ready for 1.0.
>
> Are there any issues/patches that need to be handled before we make a release and vote on it?
>
> Noah, do you have any issues, and can you make the branch and release candidate?
>
> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>
> -Damien



-- 
Paul Bonser
http://probablyprogramming.com

Re: 1.0 Vote

Posted by Filipe David Manana <fd...@apache.org>.
On Fri, Jun 25, 2010 at 6:29 PM, Benoit Chesneau <bc...@gmail.com>wrote:

> On Fri, Jun 25, 2010 at 5:35 PM, Filipe David Manana
> <fd...@apache.org> wrote:
> > On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js
> with
> > an assertion failing:
> >
> > Assertion failed: expected
> '{"total_rows":10,"offset":0,"update_seq":11}',
> > got '{"total_rows":10,"offset":0}
> >
> >
> are you on R14A ? I have the same with this version
>

Nop, R13B04



>
> - benoit
>



-- 
Filipe David Manana,
fdmanana@apache.org / fdmanana@gmail.com

"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."

Re: 1.0 Vote

Posted by Benoit Chesneau <bc...@gmail.com>.
On Fri, Jun 25, 2010 at 5:35 PM, Filipe David Manana
<fd...@apache.org> wrote:
> On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js with
> an assertion failing:
>
> Assertion failed: expected '{"total_rows":10,"offset":0,"update_seq":11}',
> got '{"total_rows":10,"offset":0}
>
>
are you on R14A ? I have the same with this version

- benoit

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 25, 2010, at 10:36 AM, Jan Lehnardt wrote:

> Chris,
> 
> we've been bending the rules already by committing code to 0.11.x that clearly isn't just bugfixes. If we are going to to cut 1.0 from trunk, I'd ask you to identify and revert all the backports that don't fit that bill from 0.11.x.
> 

I don't mind doing legwork to get this right. What matters is getting good code. I'm ready to pull the trigger on an all-day rebase of trunk into 0.11.x, but I want to know which patches should be excluded. If the list is short enough then I'll be happy to branch trunk and then remove the 1.1-only patches.

Sorry if this means backport work done in the past was unnecessary, but that's not as important as a stable clean 1.0

> I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.
> 

I've been skeptical of the "branch 1.0 from 0.11.x plan" the entire time, because I know how stuff goes. There are lots of tiny fixes that get dropped into trunk and backported or not, and then, when it comes release time, we read the trunk code and realize that it should pretty much all go in the release.

A major concern of mine is that in our attempts to be conservative in the push from 0.11 to 1.0, we don't end up with a 1.0 that is a backporty mess, which makes maintenance between 1.0, 1.1, 1.2 etc a big pain because there are lots of eg whitespace patches (or method renames) etc that are in 1.1 but not 1.0.

Chris

> Cheers
> Jan
> --
> 
> 
> 
> On 25 Jun 2010, at 19:23, J Chris Anderson wrote:
> 
>> I'm a little confused.
>> 
>> Last week I mentioned that we should cut trunk from 1.0, after reviewing the diff between 0.11.x and trunk, and seeing that every change in trunk I could be confident is release quality.
>> 
>> Now we've done a bunch of backporting to 0.11.x, which is bringing it closer to trunk, but not close enough, imho.
>> 
>> We could continue to backport to 0.11.x until `git diff trunk 0.11.x` is empty, but that seems like crazy lots of work to no good end.
>> 
>> Are there any patches in trunk which do not belong in 1.0?
>> 
>> Jan mentioned that Adam has some writer patches that he wants in 1.1. Is there anything else?
>> 
>> I would *definitely* like to backport the couch_util:get_value patch. There's no reason to have that huge diff between 1.0 and 1.1 (that doesn't change functionality). The big diff just makes it harder to maintain 1.0 going forward.
>> 
>> I don't care which route we get there by, but at this point, there is lot of code in trunk that belongs in 1.0
>> 
>> It might be simpler to branch trunk, and remove the one or two commits that shouldn't be in 1.0, than to play the rebase game even longer, trying to get 0.11.x to look like trunk.
>> 
>> Can you help me identify the commits that should *not* be in 1.0? 
>> 
>> Thanks!
>> 
>> Chris
>> 
>> 
>> On Jun 25, 2010, at 8:35 AM, Filipe David Manana wrote:
>> 
>>> On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js with
>>> an assertion failing:
>>> 
>>> Assertion failed: expected '{"total_rows":10,"offset":0,"update_seq":11}',
>>> got '{"total_rows":10,"offset":0}
>>> 
>>> 
>>> 
>>> On Fri, Jun 25, 2010 at 1:30 PM, Noah Slater <ns...@tumbolia.org> wrote:
>>> 
>>>> Where are we on Windows support?
>>>> 
>>>> The last time I heard, the unofficial Windows binaries that can be built at
>>>> the moment are not ready for the prime time. Is this still the case. If
>>>> we're doing a windows release, who is going to prepare the release artefact?
>>>> 
>>>> On 25 Jun 2010, at 01:20, Damien Katz wrote:
>>>> 
>>>>> It looks like the file deletion issue may be already fixed windows. If we
>>>> can get confirmation the Windows compaction and deletion problems are fixed,
>>>> I think we can prepare a release artifact to vote on.
>>>>> 
>>>>> -Damien
>>>>> 
>>>>> 
>>>>> On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:
>>>>> 
>>>>>> 
>>>>>> On 24 Jun 2010, at 01:22, Damien Katz wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
>>>>>>> 
>>>>>>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org>
>>>> wrote:
>>>>>>>>> I think we are really close to being ready for 1.0.
>>>>>>>>> 
>>>>>>>>> Are there any issues/patches that need to be handled before we make a
>>>> release and vote on it?
>>>>>>>>> 
>>>>>>>>> Noah, do you have any issues, and can you make the branch and release
>>>> candidate?
>>>>>>>>> 
>>>>>>>>> One thing I can think of is windows file support, so that compaction
>>>> and deletion work properly. There exists a fix for it from Mark Hammond, but
>>>> we need a patched Erlang VM before the fix can work. The upcoming R14B
>>>> includes the VM patch, but I think we should wait until it's actually
>>>> released before we include Mark's fix.
>>>>>>>>> 
>>>>>>>>> -Damien
>>>>>>>> 
>>>>>>>> If you mean the SHARED_DELETE thing for opening files, that was
>>>>>>>> included in R14A which was released the other day.
>>>>>>> 
>>>>>>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
>>>>>>> 
>>>>>>> Anyone up for merging the patch and testing on windows?
>>>>>>> 
>>>>>>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
>>>>>> 
>>>>>> The patch is stale, we'd need somebody to get it applying to trunk.
>>>> Anyone?
>>>>>> 
>>>>>> Cheers
>>>>>> Jan
>>>>>> --
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> -- 
>>> Filipe David Manana,
>>> fdmanana@apache.org / fdmanana@gmail.com
>>> 
>>> "Reasonable men adapt themselves to the world.
>>> Unreasonable men adapt the world to themselves.
>>> That's why all progress depends on unreasonable men."
>> 
> 


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@apache.org>.
On Jun 25, 2010, at 12:35 PM, Randall Leeds wrote:

> Thanks for the clarifications, Jan.
> All makes sense now. 0.11.x has to continue to exist and be fulfill
> its "stated use".
> New features should be reverted out of there.
> 

Sounds good to me, but I'm not sure about what's worth removing from 0.11.x and what isn't. I suppose if anything would be an impediment to a smooth upgrade for a 0.11 user, it should be backed out.

As I recall most of the stuff in 0.11.x isn't new features (maybe some feature refinements) so unless it could mess up someone's day, I don't think it's crucial to un-backport it.

At the moment there are still some 0.11.x bugfixes in trunk that are not in 0.11.x. For instance the auth cache stuff which fixes performance issues with the users_db under heavy load.

> Yeah. We're in agreement.


I also agree with Jan here:

1) branch 1.0.x from trunk.
2) revert non-bugfix changes from 0.11.x.
3) revert 1.1 patches (not junk at all) from the 1.0.x branch.

with an additional

4) continue to backport bugfixes to 0.11.x, 0.10.x, etc.

I don't think we need to say (4) but I want to be extra clear.

So, next step is to get a list of 1.1 (not 1.0) patches that are in trunk. And a list of non-0.11.x patches that are in 0.11.x (I hope this list is short).

Cheers,

Chris "Did I send this twice?" Anderson

Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 25, 2010, at 12:35 PM, Randall Leeds wrote:

> Thanks for the clarifications, Jan.
> All makes sense now. 0.11.x has to continue to exist and be fulfill
> its "stated use".
> New features should be reverted out of there.
> 

Sounds good to me, but I'm not sure about what's worth removing from 0.11.x and what isn't. I suppose if anything would be an impediment to a smooth upgrade for a 0.11 user, it should be backed out.

As I recall most of the stuff in 0.11.x isn't new features (maybe some feature refinements) so unless it could mess up someone's day, I don't think it's crucial to un-backport it.

> Yeah. We're in agreement.


Chris

Re: 1.0 Vote

Posted by Randall Leeds <ra...@gmail.com>.
Thanks for the clarifications, Jan.
All makes sense now. 0.11.x has to continue to exist and be fulfill
its "stated use".
New features should be reverted out of there.

Yeah. We're in agreement.

Re: 1.0 Vote

Posted by Noah Slater <we...@nslater.org>.
That's what regular branches are for. We should have never modified the 0.11.x branch.

I propose we move everything for 1.0 back to trunk, and everything not for 1.0 to /branches/sandbox for now. After the release, merge sandbox back to trunk.

I am plus one on this and -1 on anything which compromises the stated use if 0.11.x. Open to correction  or persuasion though.



On 25 Jun 2010, at 20:24, Randall Leeds <ra...@gmail.com> wrote:

> On Fri, Jun 25, 2010 at 13:59, Noah Slater <ns...@tumbolia.org> wrote:
>> 
>> On 25 Jun 2010, at 19:48, Randall Leeds wrote:
>> 
>>> I've been under the impression that 0.11.x was somewhat of a 1.0RC and
>>> that's why there's been any discussion at all about branching 1.0 from
>>> it. If this is the case nothing should need to be backported after the
>>> 1.0 branch because there are no more 0.11.x releases, they are simply
>>> 1.0.x.
>> 
>> This is horribly broken.
> 
> Oh, make no mistake: I don't think anyone ever intended to change the
> release procedure in general. I thought I remember this was discussed
> as the case for 0.11 in particular, that it would be the testing and
> stabilization ground for 1.0. It may not be the case anymore.

Re: 1.0 Vote

Posted by Randall Leeds <ra...@gmail.com>.
On Fri, Jun 25, 2010 at 13:59, Noah Slater <ns...@tumbolia.org> wrote:
>
> On 25 Jun 2010, at 19:48, Randall Leeds wrote:
>
>> I've been under the impression that 0.11.x was somewhat of a 1.0RC and
>> that's why there's been any discussion at all about branching 1.0 from
>> it. If this is the case nothing should need to be backported after the
>> 1.0 branch because there are no more 0.11.x releases, they are simply
>> 1.0.x.
>
> This is horribly broken.

Oh, make no mistake: I don't think anyone ever intended to change the
release procedure in general. I thought I remember this was discussed
as the case for 0.11 in particular, that it would be the testing and
stabilization ground for 1.0. It may not be the case anymore.

Re: 1.0 Vote

Posted by Noah Slater <we...@nslater.org>.
I think we're in agreement?



On 25 Jun 2010, at 20:29, Jan Lehnardt <ja...@apache.org> wrote:

> 
> On 25 Jun 2010, at 20:59, Noah Slater wrote:
> 
>> 
>> On 25 Jun 2010, at 19:48, Randall Leeds wrote:
>> 
>>> I've been under the impression that 0.11.x was somewhat of a 1.0RC and
>>> that's why there's been any discussion at all about branching 1.0 from
>>> it. If this is the case nothing should need to be backported after the
>>> 1.0 branch because there are no more 0.11.x releases, they are simply
>>> 1.0.x.
>> 
>> This is horribly broken.
>> 
>> /branches/0.11.x is for BUG FIXES for /tags/0.11.n
>> 
>> A user who is using 0.11.0 should be able to patch up bugs by upgrading to 0.11.n without having to install 1.0. That is the whole purpose of this kind of versioning and release procedure. Someone please tell me this is still going to be the case?
> 
> Yes, this is still the case.
> 
> 
>> J Chris:
>> 
>> What is happening to the 0.11.x branch after 0.1 is cut? Is it going to revert to being a bug fixing branch for the exiting 0.11.n releases? If not, then something is horribly horribly broken: either the plan for releasing 0.1, or my understanding of the plan.
>> 
>> I presume it is the latter, but could someone explain to me how I'm confused?
> 
> When we started discussing where 1.0 should be branched from we decided it should be 0.11.x assuming a pretty quick 1.0 after the 0.11.0 release. That didn't happen and we started committing patches to 0.11.x that are not strictly bug fixes for 0.11.0 but necessary for a sensible 1.0. Despite agreeing on that plan, some devs didn't backport some fixes from trunk to 0.11.x creating the merge mess that I attempted to fix in at least two longer sessions of getting 0.11.x into shape that it makes sense to be the base for a 1.0.0.
> 
> This is a divergence from the original release procedure, yet it was agreed upon here.
> 
> 
>>> The cleanest thing in my mind would be:
>>> 1) branch 1.0.x from trunk
>>> 2) revert any 1.1 junk on 1.0.x
>> 
>> Sounds good.
> 
> Close:
> 
> 1) branch 1.0.x from trunk.
> 2) revert non-bugfix changes from 0.11.x.
> 3) revert 1.1 patches (not junk at all) from the 1.0.x branch.
> 
> 
> 
>>> 3) abandon the 0.11.x branch and don't cut any further releases from it
>> 
>> The 0.11.x branch is there for releasing bug fixes for 0.11.n, so it will obviously stay.
> 
> Correct, it will stay. On top of bug fixes, the branch is required to stay around for potential future security issues.
> 
> Cheers
> Jan
> --
> 
> 
> 

Re: 1.0 Vote

Posted by Jan Lehnardt <ja...@apache.org>.
On 25 Jun 2010, at 20:59, Noah Slater wrote:

> 
> On 25 Jun 2010, at 19:48, Randall Leeds wrote:
> 
>> I've been under the impression that 0.11.x was somewhat of a 1.0RC and
>> that's why there's been any discussion at all about branching 1.0 from
>> it. If this is the case nothing should need to be backported after the
>> 1.0 branch because there are no more 0.11.x releases, they are simply
>> 1.0.x.
> 
> This is horribly broken.
> 
> /branches/0.11.x is for BUG FIXES for /tags/0.11.n
> 
> A user who is using 0.11.0 should be able to patch up bugs by upgrading to 0.11.n without having to install 1.0. That is the whole purpose of this kind of versioning and release procedure. Someone please tell me this is still going to be the case?

Yes, this is still the case.


> J Chris:
> 
> What is happening to the 0.11.x branch after 0.1 is cut? Is it going to revert to being a bug fixing branch for the exiting 0.11.n releases? If not, then something is horribly horribly broken: either the plan for releasing 0.1, or my understanding of the plan.
> 
> I presume it is the latter, but could someone explain to me how I'm confused?

When we started discussing where 1.0 should be branched from we decided it should be 0.11.x assuming a pretty quick 1.0 after the 0.11.0 release. That didn't happen and we started committing patches to 0.11.x that are not strictly bug fixes for 0.11.0 but necessary for a sensible 1.0. Despite agreeing on that plan, some devs didn't backport some fixes from trunk to 0.11.x creating the merge mess that I attempted to fix in at least two longer sessions of getting 0.11.x into shape that it makes sense to be the base for a 1.0.0.

This is a divergence from the original release procedure, yet it was agreed upon here.


>> The cleanest thing in my mind would be:
>> 1) branch 1.0.x from trunk
>> 2) revert any 1.1 junk on 1.0.x
> 
> Sounds good.

Close:

1) branch 1.0.x from trunk.
2) revert non-bugfix changes from 0.11.x.
3) revert 1.1 patches (not junk at all) from the 1.0.x branch.



>> 3) abandon the 0.11.x branch and don't cut any further releases from it
> 
> The 0.11.x branch is there for releasing bug fixes for 0.11.n, so it will obviously stay.

Correct, it will stay. On top of bug fixes, the branch is required to stay around for potential future security issues.

Cheers
Jan
--




Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
On 25 Jun 2010, at 19:48, Randall Leeds wrote:

> I've been under the impression that 0.11.x was somewhat of a 1.0RC and
> that's why there's been any discussion at all about branching 1.0 from
> it. If this is the case nothing should need to be backported after the
> 1.0 branch because there are no more 0.11.x releases, they are simply
> 1.0.x.

This is horribly broken.

/branches/0.11.x is for BUG FIXES for /tags/0.11.n

A user who is using 0.11.0 should be able to patch up bugs by upgrading to 0.11.n without having to install 1.0. That is the whole purpose of this kind of versioning and release procedure. Someone please tell me this is still going to be the case?

J Chris:

What is happening to the 0.11.x branch after 0.1 is cut? Is it going to revert to being a bug fixing branch for the exiting 0.11.n releases? If not, then something is horribly horribly broken: either the plan for releasing 0.1, or my understanding of the plan.

I presume it is the latter, but could someone explain to me how I'm confused?

> The cleanest thing in my mind would be:
> 1) branch 1.0.x from trunk
> 2) revert any 1.1 junk on 1.0.x

Sounds good.

> 3) abandon the 0.11.x branch and don't cut any further releases from it

The 0.11.x branch is there for releasing bug fixes for 0.11.n, so it will obviously stay.


Re: 1.0 Vote

Posted by Randall Leeds <ra...@gmail.com>.
I've been under the impression that 0.11.x was somewhat of a 1.0RC and
that's why there's been any discussion at all about branching 1.0 from
it. If this is the case nothing should need to be backported after the
1.0 branch because there are no more 0.11.x releases, they are simply
1.0.x.

The cleanest thing in my mind would be:
1) branch 1.0.x from trunk
2) revert any 1.1 junk on 1.0.x
3) abandon the 0.11.x branch and don't cut any further releases from it
4) Be excellent to each other.

Party on,
Randall

Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
Okay, sure.

On 25 Jun 2010, at 18:58, J Chris Anderson wrote:

> 
> On Jun 25, 2010, at 10:46 AM, Noah Slater wrote:
> 
>> On 25 Jun 2010, at 18:36, Jan Lehnardt wrote:
>> 
>>> I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.
>> 
>> I do.
>> 
>> When we set out our release procedure, we said that we could cut all new versions from trunk. We copy trunk to a branch folder, and release from that into tags. Bug fixes are back-ported to the branches and then cut to a new tag.
>> 
> 
> I agree with you Noah, that we should cut new versions from trunk (in general).
> 
> A few months ago we discussed a plan whereby 1.0 would be cut from 0.11.x. The idea behind this was to make sure no one sat on code that would be good for 1.1 but not 1.0. Eg: feel free to commit crazy stuff to trunk, as long as you don't backport to 0.11.x, it won't be in 1.0.
> 
> However, it turned out that trunk hasn't seen much action that we should leave out of 1.0, so I'm happy to stick to our normal release procedure here, and cut from 1.0 from trunk. I know others disagree with me and think we should stick to our stated plan of cutting it from 0.11.x
> 
> I don't actually care what we branch from. I'm also not bothered by the idea of doing differently than we planned.
> 
> What matters is that 1.0 have the same code as trunk (minus whatever commits need holding back for 1.1).
> 
> (apologies if this got sent twice... bah, mail clients)
> 
>> I'm really not up to speed with what is going on at the moment, but I must say that I find whatever it is quite confusing. It is my uneducated preference that we stick to the release procedure as it is documented.
>> 
>> If the release procedure is defective in some way, then I propose we update it to fix whatever process bug we found that has caused us to do whatever it is that we're doing at the moment. I'm just really not happy with procedure deviating from what is documented. It makes my job harder, for a start.
> 


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@apache.org>.
On Jun 25, 2010, at 10:46 AM, Noah Slater wrote:

> On 25 Jun 2010, at 18:36, Jan Lehnardt wrote:
> 
>> I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.
> 
> I do.
> 
> When we set out our release procedure, we said that we could cut all new versions from trunk. We copy trunk to a branch folder, and release from that into tags. Bug fixes are back-ported to the branches and then cut to a new tag.
> 

I agree with you Noah, that we should cut new versions from trunk (in general).

A few months ago we discussed a plan whereby 1.0 would be cut from 0.11.x. The idea behind this was to make sure no one sat on code that would be good for 1.1 but not 1.0. Eg: feel free to commit crazy stuff to trunk, as long as you don't backport to 0.11.x, it won't be in 1.0.

However, it turned out that trunk hasn't seen much action that we should leave out of 1.0, so I'm happy to stick to our normal release procedure here, and cut from 1.0 from trunk. I know others disagree with me and think we should stick to our stated plan of cutting it from 0.11.x

I don't actually care what we branch from. I'm also not bothered by the idea of doing differently than we planned.

What matters is that 1.0 have the same code as trunk (minus whatever commits need holding back for 1.1).

(apologies if this got sent twice... bah, mail clients)

> I'm really not up to speed with what is going on at the moment, but I must say that I find whatever it is quite confusing. It is my uneducated preference that we stick to the release procedure as it is documented.
> 
> If the release procedure is defective in some way, then I propose we update it to fix whatever process bug we found that has caused us to do whatever it is that we're doing at the moment. I'm just really not happy with procedure deviating from what is documented. It makes my job harder, for a start.


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@gmail.com>.
On Jun 25, 2010, at 10:46 AM, Noah Slater wrote:

> On 25 Jun 2010, at 18:36, Jan Lehnardt wrote:
> 
>> I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.
> 
> I do.
> 
> When we set out our release procedure, we said that we could cut all new versions from trunk. We copy trunk to a branch folder, and release from that into tags. Bug fixes are back-ported to the branches and then cut to a new tag.

I agree with you Noah, that we should cut new versions from trunk (in general).

A few months ago we discussed a plan whereby 1.0 would be cut from 0.11.x. The idea behind this was to make sure no one sat on code that would be good for 1.1 but not 1.0. Eg: feel free to commit crazy stuff to trunk, as long as you don't backport to 0.11.x, it won't be in 1.0.

However, it turned out that trunk hasn't seen much action that we should leave out of 1.0, so I'm happy to stick to our normal release procedure here, and cut from 1.0 from trunk. I know others disagree with me and think we should stick to our stated plan of cutting it from 0.11.x

I don't actually care what we branch from. I'm also not bothered by the idea of doing differently than we planned.

What matters is that 1.0 have the same code as trunk (minus whatever commits need holding back for 1.1).

> 
> I'm really not up to speed with what is going on at the moment, but I must say that I find whatever it is quite confusing. It is my uneducated preference that we stick to the release procedure as it is documented.
> 
> If the release procedure is defective in some way, then I propose we update it to fix whatever process bug we found that has caused us to do whatever it is that we're doing at the moment. I'm just really not happy with procedure deviating from what is documented. It makes my job harder, for a start.


Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
On 25 Jun 2010, at 18:36, Jan Lehnardt wrote:

> I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.

I do.

When we set out our release procedure, we said that we could cut all new versions from trunk. We copy trunk to a branch folder, and release from that into tags. Bug fixes are back-ported to the branches and then cut to a new tag.

I'm really not up to speed with what is going on at the moment, but I must say that I find whatever it is quite confusing. It is my uneducated preference that we stick to the release procedure as it is documented.

If the release procedure is defective in some way, then I propose we update it to fix whatever process bug we found that has caused us to do whatever it is that we're doing at the moment. I'm just really not happy with procedure deviating from what is documented. It makes my job harder, for a start.

Re: 1.0 Vote

Posted by Jan Lehnardt <ja...@apache.org>.
Chris,

we've been bending the rules already by committing code to 0.11.x that clearly isn't just bugfixes. If we are going to to cut 1.0 from trunk, I'd ask you to identify and revert all the backports that don't fit that bill from 0.11.x.

I don't care much either way about where to cut 1.0 from at this point except I wish this would have been brought up earlier so I didn't had to waste a lot of time on the backports.

Cheers
Jan
--



On 25 Jun 2010, at 19:23, J Chris Anderson wrote:

> I'm a little confused.
> 
> Last week I mentioned that we should cut trunk from 1.0, after reviewing the diff between 0.11.x and trunk, and seeing that every change in trunk I could be confident is release quality.
> 
> Now we've done a bunch of backporting to 0.11.x, which is bringing it closer to trunk, but not close enough, imho.
> 
> We could continue to backport to 0.11.x until `git diff trunk 0.11.x` is empty, but that seems like crazy lots of work to no good end.
> 
> Are there any patches in trunk which do not belong in 1.0?
> 
> Jan mentioned that Adam has some writer patches that he wants in 1.1. Is there anything else?
> 
> I would *definitely* like to backport the couch_util:get_value patch. There's no reason to have that huge diff between 1.0 and 1.1 (that doesn't change functionality). The big diff just makes it harder to maintain 1.0 going forward.
> 
> I don't care which route we get there by, but at this point, there is lot of code in trunk that belongs in 1.0
> 
> It might be simpler to branch trunk, and remove the one or two commits that shouldn't be in 1.0, than to play the rebase game even longer, trying to get 0.11.x to look like trunk.
> 
> Can you help me identify the commits that should *not* be in 1.0? 
> 
> Thanks!
> 
> Chris
> 
> 
> On Jun 25, 2010, at 8:35 AM, Filipe David Manana wrote:
> 
>> On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js with
>> an assertion failing:
>> 
>> Assertion failed: expected '{"total_rows":10,"offset":0,"update_seq":11}',
>> got '{"total_rows":10,"offset":0}
>> 
>> 
>> 
>> On Fri, Jun 25, 2010 at 1:30 PM, Noah Slater <ns...@tumbolia.org> wrote:
>> 
>>> Where are we on Windows support?
>>> 
>>> The last time I heard, the unofficial Windows binaries that can be built at
>>> the moment are not ready for the prime time. Is this still the case. If
>>> we're doing a windows release, who is going to prepare the release artefact?
>>> 
>>> On 25 Jun 2010, at 01:20, Damien Katz wrote:
>>> 
>>>> It looks like the file deletion issue may be already fixed windows. If we
>>> can get confirmation the Windows compaction and deletion problems are fixed,
>>> I think we can prepare a release artifact to vote on.
>>>> 
>>>> -Damien
>>>> 
>>>> 
>>>> On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:
>>>> 
>>>>> 
>>>>> On 24 Jun 2010, at 01:22, Damien Katz wrote:
>>>>> 
>>>>>> 
>>>>>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
>>>>>> 
>>>>>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org>
>>> wrote:
>>>>>>>> I think we are really close to being ready for 1.0.
>>>>>>>> 
>>>>>>>> Are there any issues/patches that need to be handled before we make a
>>> release and vote on it?
>>>>>>>> 
>>>>>>>> Noah, do you have any issues, and can you make the branch and release
>>> candidate?
>>>>>>>> 
>>>>>>>> One thing I can think of is windows file support, so that compaction
>>> and deletion work properly. There exists a fix for it from Mark Hammond, but
>>> we need a patched Erlang VM before the fix can work. The upcoming R14B
>>> includes the VM patch, but I think we should wait until it's actually
>>> released before we include Mark's fix.
>>>>>>>> 
>>>>>>>> -Damien
>>>>>>> 
>>>>>>> If you mean the SHARED_DELETE thing for opening files, that was
>>>>>>> included in R14A which was released the other day.
>>>>>> 
>>>>>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
>>>>>> 
>>>>>> Anyone up for merging the patch and testing on windows?
>>>>>> 
>>>>>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
>>>>> 
>>>>> The patch is stale, we'd need somebody to get it applying to trunk.
>>> Anyone?
>>>>> 
>>>>> Cheers
>>>>> Jan
>>>>> --
>>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
>> -- 
>> Filipe David Manana,
>> fdmanana@apache.org / fdmanana@gmail.com
>> 
>> "Reasonable men adapt themselves to the world.
>> Unreasonable men adapt the world to themselves.
>> That's why all progress depends on unreasonable men."
> 


Re: 1.0 Vote

Posted by J Chris Anderson <jc...@apache.org>.
I'm a little confused.

Last week I mentioned that we should cut trunk from 1.0, after reviewing the diff between 0.11.x and trunk, and seeing that every change in trunk I could be confident is release quality.

Now we've done a bunch of backporting to 0.11.x, which is bringing it closer to trunk, but not close enough, imho.

We could continue to backport to 0.11.x until `git diff trunk 0.11.x` is empty, but that seems like crazy lots of work to no good end.

Are there any patches in trunk which do not belong in 1.0?

Jan mentioned that Adam has some writer patches that he wants in 1.1. Is there anything else?

I would *definitely* like to backport the couch_util:get_value patch. There's no reason to have that huge diff between 1.0 and 1.1 (that doesn't change functionality). The big diff just makes it harder to maintain 1.0 going forward.

I don't care which route we get there by, but at this point, there is lot of code in trunk that belongs in 1.0

It might be simpler to branch trunk, and remove the one or two commits that shouldn't be in 1.0, than to play the rebase game even longer, trying to get 0.11.x to look like trunk.

Can you help me identify the commits that should *not* be in 1.0? 

Thanks!

Chris


On Jun 25, 2010, at 8:35 AM, Filipe David Manana wrote:

> On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js with
> an assertion failing:
> 
> Assertion failed: expected '{"total_rows":10,"offset":0,"update_seq":11}',
> got '{"total_rows":10,"offset":0}
> 
> 
> 
> On Fri, Jun 25, 2010 at 1:30 PM, Noah Slater <ns...@tumbolia.org> wrote:
> 
>> Where are we on Windows support?
>> 
>> The last time I heard, the unofficial Windows binaries that can be built at
>> the moment are not ready for the prime time. Is this still the case. If
>> we're doing a windows release, who is going to prepare the release artefact?
>> 
>> On 25 Jun 2010, at 01:20, Damien Katz wrote:
>> 
>>> It looks like the file deletion issue may be already fixed windows. If we
>> can get confirmation the Windows compaction and deletion problems are fixed,
>> I think we can prepare a release artifact to vote on.
>>> 
>>> -Damien
>>> 
>>> 
>>> On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:
>>> 
>>>> 
>>>> On 24 Jun 2010, at 01:22, Damien Katz wrote:
>>>> 
>>>>> 
>>>>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
>>>>> 
>>>>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org>
>> wrote:
>>>>>>> I think we are really close to being ready for 1.0.
>>>>>>> 
>>>>>>> Are there any issues/patches that need to be handled before we make a
>> release and vote on it?
>>>>>>> 
>>>>>>> Noah, do you have any issues, and can you make the branch and release
>> candidate?
>>>>>>> 
>>>>>>> One thing I can think of is windows file support, so that compaction
>> and deletion work properly. There exists a fix for it from Mark Hammond, but
>> we need a patched Erlang VM before the fix can work. The upcoming R14B
>> includes the VM patch, but I think we should wait until it's actually
>> released before we include Mark's fix.
>>>>>>> 
>>>>>>> -Damien
>>>>>> 
>>>>>> If you mean the SHARED_DELETE thing for opening files, that was
>>>>>> included in R14A which was released the other day.
>>>>> 
>>>>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
>>>>> 
>>>>> Anyone up for merging the patch and testing on windows?
>>>>> 
>>>>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
>>>> 
>>>> The patch is stale, we'd need somebody to get it applying to trunk.
>> Anyone?
>>>> 
>>>> Cheers
>>>> Jan
>>>> --
>>>> 
>>> 
>> 
>> 
> 
> 
> -- 
> Filipe David Manana,
> fdmanana@apache.org / fdmanana@gmail.com
> 
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."


Re: 1.0 Vote

Posted by Filipe David Manana <fd...@apache.org>.
On my GNU/Linux machine, branch 0.11.x, I have the test list_views.js with
an assertion failing:

Assertion failed: expected '{"total_rows":10,"offset":0,"update_seq":11}',
got '{"total_rows":10,"offset":0}



On Fri, Jun 25, 2010 at 1:30 PM, Noah Slater <ns...@tumbolia.org> wrote:

> Where are we on Windows support?
>
> The last time I heard, the unofficial Windows binaries that can be built at
> the moment are not ready for the prime time. Is this still the case. If
> we're doing a windows release, who is going to prepare the release artefact?
>
> On 25 Jun 2010, at 01:20, Damien Katz wrote:
>
> > It looks like the file deletion issue may be already fixed windows. If we
> can get confirmation the Windows compaction and deletion problems are fixed,
> I think we can prepare a release artifact to vote on.
> >
> > -Damien
> >
> >
> > On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:
> >
> >>
> >> On 24 Jun 2010, at 01:22, Damien Katz wrote:
> >>
> >>>
> >>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
> >>>
> >>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org>
> wrote:
> >>>>> I think we are really close to being ready for 1.0.
> >>>>>
> >>>>> Are there any issues/patches that need to be handled before we make a
> release and vote on it?
> >>>>>
> >>>>> Noah, do you have any issues, and can you make the branch and release
> candidate?
> >>>>>
> >>>>> One thing I can think of is windows file support, so that compaction
> and deletion work properly. There exists a fix for it from Mark Hammond, but
> we need a patched Erlang VM before the fix can work. The upcoming R14B
> includes the VM patch, but I think we should wait until it's actually
> released before we include Mark's fix.
> >>>>>
> >>>>> -Damien
> >>>>
> >>>> If you mean the SHARED_DELETE thing for opening files, that was
> >>>> included in R14A which was released the other day.
> >>>
> >>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
> >>>
> >>> Anyone up for merging the patch and testing on windows?
> >>>
> >>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
> >>
> >> The patch is stale, we'd need somebody to get it applying to trunk.
> Anyone?
> >>
> >> Cheers
> >> Jan
> >> --
> >>
> >
>
>


-- 
Filipe David Manana,
fdmanana@apache.org / fdmanana@gmail.com

"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."

Re: 1.0 Vote

Posted by Noah Slater <ns...@tumbolia.org>.
Where are we on Windows support?

The last time I heard, the unofficial Windows binaries that can be built at the moment are not ready for the prime time. Is this still the case. If we're doing a windows release, who is going to prepare the release artefact?

On 25 Jun 2010, at 01:20, Damien Katz wrote:

> It looks like the file deletion issue may be already fixed windows. If we can get confirmation the Windows compaction and deletion problems are fixed, I think we can prepare a release artifact to vote on.
> 
> -Damien
> 
> 
> On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:
> 
>> 
>> On 24 Jun 2010, at 01:22, Damien Katz wrote:
>> 
>>> 
>>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
>>> 
>>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org> wrote:
>>>>> I think we are really close to being ready for 1.0.
>>>>> 
>>>>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>>>>> 
>>>>> Noah, do you have any issues, and can you make the branch and release candidate?
>>>>> 
>>>>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>>>>> 
>>>>> -Damien
>>>> 
>>>> If you mean the SHARED_DELETE thing for opening files, that was
>>>> included in R14A which was released the other day.
>>> 
>>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
>>> 
>>> Anyone up for merging the patch and testing on windows?
>>> 
>>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
>> 
>> The patch is stale, we'd need somebody to get it applying to trunk. Anyone?
>> 
>> Cheers
>> Jan
>> --
>> 
> 


Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
It looks like the file deletion issue may be already fixed windows. If we can get confirmation the Windows compaction and deletion problems are fixed, I think we can prepare a release artifact to vote on.

-Damien


On Jun 24, 2010, at 12:24 PM, Jan Lehnardt wrote:

> 
> On 24 Jun 2010, at 01:22, Damien Katz wrote:
> 
>> 
>> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
>> 
>>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org> wrote:
>>>> I think we are really close to being ready for 1.0.
>>>> 
>>>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>>>> 
>>>> Noah, do you have any issues, and can you make the branch and release candidate?
>>>> 
>>>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>>>> 
>>>> -Damien
>>> 
>>> If you mean the SHARED_DELETE thing for opening files, that was
>>> included in R14A which was released the other day.
>> 
>> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
>> 
>> Anyone up for merging the patch and testing on windows?
>> 
>> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86
> 
> The patch is stale, we'd need somebody to get it applying to trunk. Anyone?
> 
> Cheers
> Jan
> --
> 


Re: 1.0 Vote

Posted by Jan Lehnardt <ja...@apache.org>.
On 24 Jun 2010, at 01:22, Damien Katz wrote:

> 
> On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:
> 
>> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org> wrote:
>>> I think we are really close to being ready for 1.0.
>>> 
>>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>>> 
>>> Noah, do you have any issues, and can you make the branch and release candidate?
>>> 
>>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>>> 
>>> -Damien
>> 
>> If you mean the SHARED_DELETE thing for opening files, that was
>> included in R14A which was released the other day.
> 
> I do mean the SHARED_DELETE thing, and I didn't know that. Great news!
> 
> Anyone up for merging the patch and testing on windows?
> 
> Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86

The patch is stale, we'd need somebody to get it applying to trunk. Anyone?

Cheers
Jan
--


Re: 1.0 Vote

Posted by Damien Katz <da...@apache.org>.
On Jun 23, 2010, at 4:15 PM, Paul Davis wrote:

> On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org> wrote:
>> I think we are really close to being ready for 1.0.
>> 
>> Are there any issues/patches that need to be handled before we make a release and vote on it?
>> 
>> Noah, do you have any issues, and can you make the branch and release candidate?
>> 
>> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>> 
>> -Damien
> 
> If you mean the SHARED_DELETE thing for opening files, that was
> included in R14A which was released the other day.

I do mean the SHARED_DELETE thing, and I didn't know that. Great news!

Anyone up for merging the patch and testing on windows?

Patch is here: https://issues.apache.org/jira/browse/COUCHDB-86

-Damien

> 
> Paul


Re: 1.0 Vote

Posted by Paul Davis <pa...@gmail.com>.
On Wed, Jun 23, 2010 at 6:47 PM, Damien Katz <da...@apache.org> wrote:
> I think we are really close to being ready for 1.0.
>
> Are there any issues/patches that need to be handled before we make a release and vote on it?
>
> Noah, do you have any issues, and can you make the branch and release candidate?
>
> One thing I can think of is windows file support, so that compaction and deletion work properly. There exists a fix for it from Mark Hammond, but we need a patched Erlang VM before the fix can work. The upcoming R14B includes the VM patch, but I think we should wait until it's actually released before we include Mark's fix.
>
> -Damien

If you mean the SHARED_DELETE thing for opening files, that was
included in R14A which was released the other day.

Paul