couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikanth <srikanth_kollip...@dell.com>
Subject Error in partial replication
Date Mon, 11 Jul 2011 05:04:29 GMT
Hi,
I am new to couchdb and when i am playing with the replication i got the 
following error for partial replication of one database to another which is on 
another machine...

Please help me to get out of this....




[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2093.0>] 'POST' /_replicate {1,1}
Headers: [{'Accept',"application/json, text/javascript, */*"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip, deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Cache-Control',"no-cache"},
          {'Connection',"keep-alive"},
          {'Content-Length',"98"},
          {'Content-Type',"application/json; charset=UTF-8"},
          {'Host',"localhost:5984"},
          {'Pragma',"no-cache"},
          {'Referer',"http://localhost:5984/_utils/replicator.html"},
          {'User-Agent',"Mozilla/5.0 (Windows NT 6.0; rv:5.0) Gecko/20100101 
Firefox/5.0"},
          {"X-Requested-With","XMLHttpRequest"}]

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2093.0>] OAuth Params: []

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2758.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2758.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2758.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2764.0>] ** Generic server 
<0.2764.0> terminating 
** Last message in was {'EXIT',<0.2765.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2758.0>,false,0,
                               {<0.2767.0>,#Ref<0.0.0.12683>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2765.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2764.0>] {error_report,<0.40.0>,
    {<0.2764.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2764.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2758.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2758.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,141}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2766.0>] ** Generic server 
<0.2766.0> terminating 
** Last message in was {'EXIT',<0.2767.0>,
                           {{function_clause,
                                [{couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^3/1-0-',
                                     [undefined]},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-fun-1-',1},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^4/1-1-',2},
                                 {couch_rep_missing_revs,get_missing_revs,2},
                                 {couch_rep_missing_revs,changes_loop,3}]},
                            {gen_server,call,
                                [<0.2764.0>,next_missing_revs,infinity]}}}
** When Server state == {state,<0.2758.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2764.0>,<0.2767.0>,[],0,
                            {[],[]},
                            {<0.2768.0>,#Ref<0.0.0.12685>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_reader,handle_info,
            [{'EXIT',<0.2767.0>,
                 {{function_clause,
                      [{couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^3/1-0-',
                           [undefined]},
                       {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                       {couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^4/1-1-',2},
                       {couch_rep_missing_revs,get_missing_revs,2},
                       {couch_rep_missing_revs,changes_loop,3}]},
                  {gen_server,call,[<0.2764.0>,next_missing_revs,infinity]}}},
             {state,<0.2758.0>,
                 {http_db,
                     "http://IpAddress:5984/employee1111/?myddoc/myfilter/",
                     [],[],
                     [{"User-Agent","CouchDB/1.0.2"},
                      {"Accept","application/json"},
                      {"Accept-Encoding","gzip"}],
                     [],get,nil,
                     [{response_format,binary},{inactivity_timeout,30000}],
                     10,500,nil},
                 <0.2764.0>,<0.2767.0>,[],0,
                 {[],[]},
                 {<0.2768.0>,#Ref<0.0.0.12685>},
                 false,0,nil,[],[]}]},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2766.0>] {error_report,<0.40.0>,
    {<0.2766.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2766.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_reader,handle_info,
                        [{'EXIT',<0.2767.0>,
                             {{function_clause,
                                  [{couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^3/1-0-',
                                       [undefined]},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-fun-1-',1},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^4/1-1-',2},
                                   {couch_rep_missing_revs,get_missing_revs,2},
                                   {couch_rep_missing_revs,changes_loop,3}]},
                              {gen_server,call,
                                  [<0.2764.0>,next_missing_revs,infinity]}}},
                         {state,<0.2758.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],[],
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"},
                                  {"Accept-Encoding","gzip"}],
                                 [],get,nil,
                                 [{response_format,binary},
                                  {inactivity_timeout,30000}],
                                 10,500,nil},
                             <0.2764.0>,<0.2767.0>,[],0,
                             {[],[]},
                             {<0.2768.0>,#Ref<0.0.0.12685>},
                             false,0,nil,[],[]}]},
                    {gen_server,handle_msg,5},
                    {proc_lib,init_p_do_apply,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2758.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2758.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,174}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2758.0>] ** Generic server 
<0.2758.0> terminating 
** Last message in was {'EXIT',<0.2764.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2762.0>,<0.2764.0>,<0.2766.0>,<0.2768.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"45d7dd6aaaea11851fb75252aef1badd">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,188472,nil,nil,<0.2769.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2758.0>] {error_report,<0.40.0>,
 {<0.2758.0>,crash_report,
  [[{initial_call,{couch_rep,init,['Argument__1']}},
    {pid,<0.2758.0>},
    {registered_name,[]},
    {error_info,
     {exit,
      {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]},
      [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
    {ancestors,
     [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
    {messages,
     [{'EXIT',<0.2766.0>,
       {function_clause,
        [{couch_rep_reader,handle_info,
          [{'EXIT',<0.2767.0>,
            {{function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]},
             {gen_server,call,[<0.2764.0>,next_missing_revs,infinity]}}},
           {state,<0.2758.0>,
            {http_db,
             "http://IpAddress:5984/employee1111/?myddoc/myfilter/",[],
             [],
             [{"User-Agent","CouchDB/1.0.2"},
              {"Accept","application/json"},
              {"Accept-Encoding","gzip"}],
             [],get,nil,
             [{response_format,binary},{inactivity_timeout,30000}],
             10,500,nil},
            <0.2764.0>,<0.2767.0>,[],0,
            {[],[]},
            {<0.2768.0>,#Ref<0.0.0.12685>},
            false,0,nil,[],[]}]},
         {gen_server,handle_msg,5},
         {proc_lib,init_p_do_apply,3}]}}]},
    {links,[<0.2762.0>,<0.2768.0>,<0.2769.0>,<0.91.0>]},
    {dictionary,[{task_status_update,{{0,0,0},0}}]},
    {trap_exit,true},
    {status,running},
    {heap_size,4181},
    {stack_size,24},
    {reductions,3255}],
   [{neighbour,
     [{pid,<0.2769.0>},
      {registered_name,[]},
      {initial_call,{couch_event_sup,init,['Argument__1']}},
      {current_function,{gen_server,loop,6}},
      {ancestors,
       [<0.2758.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
        <0.41.0>]},
      {messages,[]},
      {links,[<0.2758.0>,<0.94.0>]},
      {dictionary,[]},
      {trap_exit,false},
      {status,waiting},
      {heap_size,233},
      {stack_size,9},
      {reductions,33}]},
    {neighbour,
     [{pid,<0.2768.0>},
      {registered_name,[]},
      {initial_call,{erlang,apply,2}},
      {current_function,{gen,wait_resp_mon,3}},
      {ancestors,[]},
      {messages,
       [{'DOWN',#Ref<0.0.0.12685>,process,<0.2766.0>,
         {function_clause,
          [{couch_rep_reader,handle_info,
            [{'EXIT',<0.2767.0>,
              {{function_clause,
                [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                  [undefined]},
                 {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                 {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
                 {couch_rep_missing_revs,get_missing_revs,2},
                 {couch_rep_missing_revs,changes_loop,3}]},
               {gen_server,call,[<0.2764.0>,next_missing_revs,infinity]}}},
             {state,<0.2758.0>,
              {http_db,
               "http://IpAddress:5984/employee1111/?myddoc/myfilter/",
               [],[],
               [{"User-Agent","CouchDB/1.0.2"},
                {"Accept","application/json"},
                {"Accept-Encoding","gzip"}],
               [],get,nil,
               [{response_format,binary},{inactivity_timeout,30000}],
               10,500,nil},
              <0.2764.0>,<0.2767.0>,[],0,
              {[],[]},
              {<0.2768.0>,#Ref<0.0.0.12685>},
              false,0,nil,[],[]}]},
           {gen_server,handle_msg,5},
           {proc_lib,init_p_do_apply,3}]}}]},
      {links,[<0.2758.0>]},
      {dictionary,[]},
      {trap_exit,false},
      {status,runnable},
      {heap_size,233},
      {stack_size,16},
      {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2758.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2762.0>] ** Generic server 
<0.2762.0> terminating 
** Last message in was {'EXIT',<0.2758.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2758.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2762.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2763.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            undefined,<0.2763.0>,
                            {1310,360584,511260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2762.0>] {error_report,<0.40.0>,
    {<0.2762.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2762.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2758.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615511267,#Ref<0.0.0.12681>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,1524}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2770.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2770.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2770.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2776.0>] ** Generic server 
<0.2776.0> terminating 
** Last message in was {'EXIT',<0.2777.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2770.0>,false,0,
                               {<0.2779.0>,#Ref<0.0.0.12769>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2776.0>] {error_report,<0.40.0>,
    {<0.2776.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2776.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2770.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2770.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2770.0>] ** Generic server 
<0.2770.0> terminating 
** Last message in was {'EXIT',<0.2776.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2774.0>,<0.2776.0>,<0.2778.0>,<0.2780.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"52af65d3b05a33658420643f6090c12c">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,192568,nil,nil,<0.2781.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2770.0>] {error_report,<0.40.0>,
    {<0.2770.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.2770.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
       {messages,[]},
       {links,[<0.2778.0>,<0.2780.0>,<0.2781.0>,<0.2774.0>,<0.91.0>]},
       {dictionary,[{task_status_update,{{0,0,0},0}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,4181},
       {stack_size,24},
       {reductions,3255}],
      [{neighbour,
           [{pid,<0.2781.0>},
            {registered_name,[]},
            {initial_call,{couch_event_sup,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.2770.0>,couch_rep_sup,couch_primary_services,
                 couch_server_sup,<0.41.0>]},
            {messages,[]},
            {links,[<0.2770.0>,<0.94.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,33}]},
       {neighbour,
           [{pid,<0.2780.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,[]},
            {links,[<0.2770.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2770.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2777.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2778.0>] ** Generic server 
<0.2778.0> terminating 
** Last message in was {'EXIT',<0.2770.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2770.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2776.0>,<0.2779.0>,[],0,
                            {[],[]},
                            {<0.2780.0>,#Ref<0.0.0.12771>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2778.0>] {error_report,<0.40.0>,
    {<0.2778.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2778.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2770.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,
           [{'EXIT',<0.2779.0>,
                {{function_clause,
                     [{couch_rep_missing_revs,
                          '-get_missing_revs/2-lc$^3/1-0-',
                          [undefined]},
                      {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                      {couch_rep_missing_revs,
                          '-get_missing_revs/2-lc$^4/1-1-',2},
                      {couch_rep_missing_revs,get_missing_revs,2},
                      {couch_rep_missing_revs,changes_loop,3}]},
                 {gen_server,call,[<0.2776.0>,next_missing_revs,infinity]}}}]},
       {links,[]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,178}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2774.0>] ** Generic server 
<0.2774.0> terminating 
** Last message in was {'EXIT',<0.2770.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2770.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2774.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2775.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            undefined,<0.2775.0>,
                            {1310,360584,589260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2774.0>] {error_report,<0.40.0>,
    {<0.2774.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2774.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2770.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615589267,#Ref<0.0.0.12779>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,1496}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2782.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2782.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2782.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2788.0>] ** Generic server 
<0.2788.0> terminating 
** Last message in was {'EXIT',<0.2789.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2782.0>,false,0,
                               {<0.2791.0>,#Ref<0.0.0.12865>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2788.0>] {error_report,<0.40.0>,
    {<0.2788.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2788.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2782.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2782.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2790.0>] ** Generic server 
<0.2790.0> terminating 
** Last message in was {'EXIT',<0.2791.0>,
                           {{function_clause,
                                [{couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^3/1-0-',
                                     [undefined]},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-fun-1-',1},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^4/1-1-',2},
                                 {couch_rep_missing_revs,get_missing_revs,2},
                                 {couch_rep_missing_revs,changes_loop,3}]},
                            {gen_server,call,
                                [<0.2788.0>,next_missing_revs,infinity]}}}
** When Server state == {state,<0.2782.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2788.0>,<0.2791.0>,[],0,
                            {[],[]},
                            {<0.2792.0>,#Ref<0.0.0.12866>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_reader,handle_info,
            [{'EXIT',<0.2791.0>,
                 {{function_clause,
                      [{couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^3/1-0-',
                           [undefined]},
                       {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                       {couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^4/1-1-',2},
                       {couch_rep_missing_revs,get_missing_revs,2},
                       {couch_rep_missing_revs,changes_loop,3}]},
                  {gen_server,call,[<0.2788.0>,next_missing_revs,infinity]}}},
             {state,<0.2782.0>,
                 {http_db,
                     "http://IpAddress:5984/employee1111/?myddoc/myfilter/",
                     [],[],
                     [{"User-Agent","CouchDB/1.0.2"},
                      {"Accept","application/json"},
                      {"Accept-Encoding","gzip"}],
                     [],get,nil,
                     [{response_format,binary},{inactivity_timeout,30000}],
                     10,500,nil},
                 <0.2788.0>,<0.2791.0>,[],0,
                 {[],[]},
                 {<0.2792.0>,#Ref<0.0.0.12866>},
                 false,0,nil,[],[]}]},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2790.0>] {error_report,<0.40.0>,
    {<0.2790.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2790.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_reader,handle_info,
                        [{'EXIT',<0.2791.0>,
                             {{function_clause,
                                  [{couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^3/1-0-',
                                       [undefined]},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-fun-1-',1},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^4/1-1-',2},
                                   {couch_rep_missing_revs,get_missing_revs,2},
                                   {couch_rep_missing_revs,changes_loop,3}]},
                              {gen_server,call,
                                  [<0.2788.0>,next_missing_revs,infinity]}}},
                         {state,<0.2782.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],[],
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"},
                                  {"Accept-Encoding","gzip"}],
                                 [],get,nil,
                                 [{response_format,binary},
                                  {inactivity_timeout,30000}],
                                 10,500,nil},
                             <0.2788.0>,<0.2791.0>,[],0,
                             {[],[]},
                             {<0.2792.0>,#Ref<0.0.0.12866>},
                             false,0,nil,[],[]}]},
                    {gen_server,handle_msg,5},
                    {proc_lib,init_p_do_apply,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2782.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2782.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,166}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2782.0>] ** Generic server 
<0.2782.0> terminating 
** Last message in was {'EXIT',<0.2788.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2786.0>,<0.2788.0>,<0.2790.0>,<0.2792.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"aecb1cb2146218c5848dd12d990d0023">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,196664,nil,nil,<0.2793.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2782.0>] {error_report,<0.40.0>,
 {<0.2782.0>,crash_report,
  [[{initial_call,{couch_rep,init,['Argument__1']}},
    {pid,<0.2782.0>},
    {registered_name,[]},
    {error_info,
     {exit,
      {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]},
      [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
    {ancestors,
     [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
    {messages,
     [{'EXIT',<0.2790.0>,
       {function_clause,
        [{couch_rep_reader,handle_info,
          [{'EXIT',<0.2791.0>,
            {{function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]},
             {gen_server,call,[<0.2788.0>,next_missing_revs,infinity]}}},
           {state,<0.2782.0>,
            {http_db,
             "http://IpAddress:5984/employee1111/?myddoc/myfilter/",[],
             [],
             [{"User-Agent","CouchDB/1.0.2"},
              {"Accept","application/json"},
              {"Accept-Encoding","gzip"}],
             [],get,nil,
             [{response_format,binary},{inactivity_timeout,30000}],
             10,500,nil},
            <0.2788.0>,<0.2791.0>,[],0,
            {[],[]},
            {<0.2792.0>,#Ref<0.0.0.12866>},
            false,0,nil,[],[]}]},
         {gen_server,handle_msg,5},
         {proc_lib,init_p_do_apply,3}]}},
      {'EXIT',<0.2792.0>,
       {{function_clause,
         [{couch_rep_reader,handle_info,
           [{'EXIT',<0.2791.0>,
             {{function_clause,
               [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                 [undefined]},
                {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
                {couch_rep_missing_revs,get_missing_revs,2},
                {couch_rep_missing_revs,changes_loop,3}]},
              {gen_server,call,[<0.2788.0>,next_missing_revs,infinity]}}},
            {state,<0.2782.0>,
             {http_db,
              "http://IpAddress:5984/employee1111/?myddoc/myfilter/",[],
              [],
              [{"User-Agent","CouchDB/1.0.2"},
               {"Accept","application/json"},
               {"Accept-Encoding","gzip"}],
              [],get,nil,
              [{response_format,binary},{inactivity_timeout,30000}],
              10,500,nil},
             <0.2788.0>,<0.2791.0>,[],0,
             {[],[]},
             {<0.2792.0>,#Ref<0.0.0.12866>},
             false,0,nil,[],[]}]},
          {gen_server,handle_msg,5},
          {proc_lib,init_p_do_apply,3}]},
        {gen_server,call,[<0.2790.0>,next_docs,infinity]}}}]},
    {links,[<0.2786.0>,<0.2793.0>,<0.91.0>]},
    {dictionary,[{task_status_update,{{0,0,0},0}}]},
    {trap_exit,true},
    {status,running},
    {heap_size,4181},
    {stack_size,24},
    {reductions,3255}],
   [{neighbour,
     [{pid,<0.2793.0>},
      {registered_name,[]},
      {initial_call,{couch_event_sup,init,['Argument__1']}},
      {current_function,{gen_server,loop,6}},
      {ancestors,
       [<0.2782.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
        <0.41.0>]},
      {messages,[]},
      {links,[<0.2782.0>,<0.94.0>]},
      {dictionary,[]},
      {trap_exit,false},
      {status,waiting},
      {heap_size,233},
      {stack_size,9},
      {reductions,33}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2789.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2786.0>] ** Generic server 
<0.2786.0> terminating 
** Last message in was {'EXIT',<0.2782.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2782.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2786.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2787.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            0,<0.2787.0>,
                            {1310,360584,636260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2786.0>] {error_report,<0.40.0>,
    {<0.2786.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2786.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2782.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615652270,#Ref<0.0.0.12882>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,1597},
       {stack_size,24},
       {reductions,1586}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2782.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2794.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2794.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2794.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2800.0>] ** Generic server 
<0.2800.0> terminating 
** Last message in was {'EXIT',<0.2801.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2794.0>,false,0,
                               {<0.2803.0>,#Ref<0.0.0.12960>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2800.0>] {error_report,<0.40.0>,
    {<0.2800.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2800.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2794.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2794.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2794.0>] ** Generic server 
<0.2794.0> terminating 
** Last message in was {'EXIT',<0.2800.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2798.0>,<0.2800.0>,<0.2802.0>,<0.2804.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"a2fde81c01ea03324acd15f7e6dc4b3c">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,200760,nil,nil,<0.2805.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2794.0>] {error_report,<0.40.0>,
    {<0.2794.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.2794.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
       {messages,[]},
       {links,[<0.2802.0>,<0.2804.0>,<0.2805.0>,<0.2798.0>,<0.91.0>]},
       {dictionary,[{task_status_update,{{0,0,0},0}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,4181},
       {stack_size,24},
       {reductions,3259}],
      [{neighbour,
           [{pid,<0.2805.0>},
            {registered_name,[]},
            {initial_call,{couch_event_sup,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.2794.0>,couch_rep_sup,couch_primary_services,
                 couch_server_sup,<0.41.0>]},
            {messages,[]},
            {links,[<0.2794.0>,<0.94.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,33}]},
       {neighbour,
           [{pid,<0.2804.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,[]},
            {links,[<0.2794.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2802.0>] ** Generic server 
<0.2802.0> terminating 
** Last message in was {'EXIT',<0.2794.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2794.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2800.0>,<0.2803.0>,[],0,
                            {[],[]},
                            {<0.2804.0>,#Ref<0.0.0.12963>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2802.0>] {error_report,<0.40.0>,
    {<0.2802.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2802.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2794.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2803.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,166}],
      [{neighbour,
           [{pid,<0.2803.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,
                [{'DOWN',#Ref<0.0.0.12960>,process,<0.2800.0>,
                     {function_clause,
                         [{couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^3/1-0-',
                              [undefined]},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-fun-1-',1},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^4/1-1-',2},
                          {couch_rep_missing_revs,get_missing_revs,2},
                          {couch_rep_missing_revs,changes_loop,3}]}}]},
            {links,[<0.2802.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,runnable},
            {heap_size,377},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2801.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2798.0>] ** Generic server 
<0.2798.0> terminating 
** Last message in was {'EXIT',<0.2794.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2794.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2798.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2799.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            0,<0.2799.0>,
                            {1310,360584,699260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2798.0>] {error_report,<0.40.0>,
    {<0.2798.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2798.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2794.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615714270,#Ref<0.0.0.12978>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,1597},
       {stack_size,24},
       {reductions,1598}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2794.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2806.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2806.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2806.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2812.0>] ** Generic server 
<0.2812.0> terminating 
** Last message in was {'EXIT',<0.2813.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2806.0>,false,0,
                               {<0.2815.0>,#Ref<0.0.0.13058>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2812.0>] {error_report,<0.40.0>,
    {<0.2812.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2812.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2806.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2806.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2806.0>] ** Generic server 
<0.2806.0> terminating 
** Last message in was {'EXIT',<0.2812.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2810.0>,<0.2812.0>,<0.2814.0>,<0.2816.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"2f883ddbd51fb8586245647b1828d23d">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,204856,nil,nil,<0.2817.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2806.0>] {error_report,<0.40.0>,
    {<0.2806.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.2806.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
       {messages,[]},
       {links,[<0.2814.0>,<0.2816.0>,<0.2817.0>,<0.2810.0>,<0.91.0>]},
       {dictionary,[{task_status_update,{{0,0,0},0}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,4181},
       {stack_size,24},
       {reductions,3263}],
      [{neighbour,
           [{pid,<0.2817.0>},
            {registered_name,[]},
            {initial_call,{couch_event_sup,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.2806.0>,couch_rep_sup,couch_primary_services,
                 couch_server_sup,<0.41.0>]},
            {messages,[]},
            {links,[<0.2806.0>,<0.94.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,33}]},
       {neighbour,
           [{pid,<0.2816.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,[]},
            {links,[<0.2806.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2814.0>] ** Generic server 
<0.2814.0> terminating 
** Last message in was {'EXIT',<0.2806.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2806.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2812.0>,<0.2815.0>,[],0,
                            {[],[]},
                            {<0.2816.0>,#Ref<0.0.0.13059>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2814.0>] {error_report,<0.40.0>,
    {<0.2814.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2814.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2806.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2815.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,154}],
      [{neighbour,
           [{pid,<0.2815.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,
                [{'DOWN',#Ref<0.0.0.13058>,process,<0.2812.0>,
                     {function_clause,
                         [{couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^3/1-0-',
                              [undefined]},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-fun-1-',1},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^4/1-1-',2},
                          {couch_rep_missing_revs,get_missing_revs,2},
                          {couch_rep_missing_revs,changes_loop,3}]}}]},
            {links,[<0.2814.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,runnable},
            {heap_size,377},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2813.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2810.0>] ** Generic server 
<0.2810.0> terminating 
** Last message in was {'EXIT',<0.2806.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2806.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2810.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2811.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            0,<0.2811.0>,
                            {1310,360584,777260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2806.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2810.0>] {error_report,<0.40.0>,
    {<0.2810.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2810.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2806.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615792270,#Ref<0.0.0.13073>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,1597},
       {stack_size,24},
       {reductions,1598}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2818.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2818.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2818.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2824.0>] ** Generic server 
<0.2824.0> terminating 
** Last message in was {'EXIT',<0.2825.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2818.0>,false,0,
                               {<0.2827.0>,#Ref<0.0.0.13155>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2824.0>] {error_report,<0.40.0>,
    {<0.2824.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2824.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2818.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2818.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2818.0>] ** Generic server 
<0.2818.0> terminating 
** Last message in was {'EXIT',<0.2824.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2822.0>,<0.2824.0>,<0.2826.0>,<0.2828.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"498b5ec813368d0347880635451791eb">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,208952,nil,nil,<0.2829.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2818.0>] {error_report,<0.40.0>,
    {<0.2818.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.2818.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
       {messages,[]},
       {links,[<0.2826.0>,<0.2828.0>,<0.2829.0>,<0.2822.0>,<0.91.0>]},
       {dictionary,[{task_status_update,{{0,0,0},0}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,4181},
       {stack_size,24},
       {reductions,3263}],
      [{neighbour,
           [{pid,<0.2829.0>},
            {registered_name,[]},
            {initial_call,{couch_event_sup,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.2818.0>,couch_rep_sup,couch_primary_services,
                 couch_server_sup,<0.41.0>]},
            {messages,[]},
            {links,[<0.2818.0>,<0.94.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,33}]},
       {neighbour,
           [{pid,<0.2828.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,[]},
            {links,[<0.2818.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2826.0>] ** Generic server 
<0.2826.0> terminating 
** Last message in was {'EXIT',<0.2818.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2818.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2824.0>,<0.2827.0>,[],0,
                            {[],[]},
                            {<0.2828.0>,#Ref<0.0.0.13156>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2826.0>] {error_report,<0.40.0>,
    {<0.2826.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2826.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2818.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2827.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,158}],
      [{neighbour,
           [{pid,<0.2827.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,
                [{'DOWN',#Ref<0.0.0.13155>,process,<0.2824.0>,
                     {function_clause,
                         [{couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^3/1-0-',
                              [undefined]},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-fun-1-',1},
                          {couch_rep_missing_revs,
                              '-get_missing_revs/2-lc$^4/1-1-',2},
                          {couch_rep_missing_revs,get_missing_revs,2},
                          {couch_rep_missing_revs,changes_loop,3}]}}]},
            {links,[<0.2826.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,runnable},
            {heap_size,377},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2825.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2822.0>] ** Generic server 
<0.2822.0> terminating 
** Last message in was {'EXIT',<0.2818.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2818.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2822.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2823.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            0,<0.2823.0>,
                            {1310,360584,870260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2822.0>] {error_report,<0.40.0>,
    {<0.2822.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2822.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2818.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615886269,#Ref<0.0.0.13170>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,1597},
       {stack_size,24},
       {reductions,1598}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2818.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2830.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2830.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2830.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2835.0>] ** Generic server 
<0.2835.0> terminating 
** Last message in was {'EXIT',<0.2836.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2830.0>,false,0,
                               {<0.2838.0>,#Ref<0.0.0.13249>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2835.0>] {error_report,<0.40.0>,
    {<0.2835.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2835.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2830.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2830.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2837.0>] ** Generic server 
<0.2837.0> terminating 
** Last message in was {'EXIT',<0.2838.0>,
                           {{function_clause,
                                [{couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^3/1-0-',
                                     [undefined]},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-fun-1-',1},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^4/1-1-',2},
                                 {couch_rep_missing_revs,get_missing_revs,2},
                                 {couch_rep_missing_revs,changes_loop,3}]},
                            {gen_server,call,
                                [<0.2835.0>,next_missing_revs,infinity]}}}
** When Server state == {state,<0.2830.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2835.0>,<0.2838.0>,[],0,
                            {[],[]},
                            {<0.2839.0>,#Ref<0.0.0.13252>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_reader,handle_info,
            [{'EXIT',<0.2838.0>,
                 {{function_clause,
                      [{couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^3/1-0-',
                           [undefined]},
                       {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                       {couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^4/1-1-',2},
                       {couch_rep_missing_revs,get_missing_revs,2},
                       {couch_rep_missing_revs,changes_loop,3}]},
                  {gen_server,call,[<0.2835.0>,next_missing_revs,infinity]}}},
             {state,<0.2830.0>,
                 {http_db,
                     "http://IpAddress:5984/employee1111/?myddoc/myfilter/",
                     [],[],
                     [{"User-Agent","CouchDB/1.0.2"},
                      {"Accept","application/json"},
                      {"Accept-Encoding","gzip"}],
                     [],get,nil,
                     [{response_format,binary},{inactivity_timeout,30000}],
                     10,500,nil},
                 <0.2835.0>,<0.2838.0>,[],0,
                 {[],[]},
                 {<0.2839.0>,#Ref<0.0.0.13252>},
                 false,0,nil,[],[]}]},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2837.0>] {error_report,<0.40.0>,
    {<0.2837.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2837.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_reader,handle_info,
                        [{'EXIT',<0.2838.0>,
                             {{function_clause,
                                  [{couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^3/1-0-',
                                       [undefined]},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-fun-1-',1},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^4/1-1-',2},
                                   {couch_rep_missing_revs,get_missing_revs,2},
                                   {couch_rep_missing_revs,changes_loop,3}]},
                              {gen_server,call,
                                  [<0.2835.0>,next_missing_revs,infinity]}}},
                         {state,<0.2830.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],[],
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"},
                                  {"Accept-Encoding","gzip"}],
                                 [],get,nil,
                                 [{response_format,binary},
                                  {inactivity_timeout,30000}],
                                 10,500,nil},
                             <0.2835.0>,<0.2838.0>,[],0,
                             {[],[]},
                             {<0.2839.0>,#Ref<0.0.0.13252>},
                             false,0,nil,[],[]}]},
                    {gen_server,handle_msg,5},
                    {proc_lib,init_p_do_apply,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2830.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2830.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,166}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2830.0>] ** Generic server 
<0.2830.0> terminating 
** Last message in was {'EXIT',<0.2835.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2833.0>,<0.2835.0>,<0.2837.0>,<0.2839.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"dfffe6425f094dfc2895b75f1d3fb290">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [],false,0,213048,nil,nil,<0.2840.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2830.0>] {error_report,<0.40.0>,
 {<0.2830.0>,crash_report,
  [[{initial_call,{couch_rep,init,['Argument__1']}},
    {pid,<0.2830.0>},
    {registered_name,[]},
    {error_info,
     {exit,
      {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]},
      [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
    {ancestors,
     [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
    {messages,
     [{'EXIT',<0.2837.0>,
       {function_clause,
        [{couch_rep_reader,handle_info,
          [{'EXIT',<0.2838.0>,
            {{function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]},
             {gen_server,call,[<0.2835.0>,next_missing_revs,infinity]}}},
           {state,<0.2830.0>,
            {http_db,
             "http://IpAddress:5984/employee1111/?myddoc/myfilter/",[],
             [],
             [{"User-Agent","CouchDB/1.0.2"},
              {"Accept","application/json"},
              {"Accept-Encoding","gzip"}],
             [],get,nil,
             [{response_format,binary},{inactivity_timeout,30000}],
             10,500,nil},
            <0.2835.0>,<0.2838.0>,[],0,
            {[],[]},
            {<0.2839.0>,#Ref<0.0.0.13252>},
            false,0,nil,[],[]}]},
         {gen_server,handle_msg,5},
         {proc_lib,init_p_do_apply,3}]}},
      {'EXIT',<0.2839.0>,
       {{function_clause,
         [{couch_rep_reader,handle_info,
           [{'EXIT',<0.2838.0>,
             {{function_clause,
               [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                 [undefined]},
                {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
                {couch_rep_missing_revs,get_missing_revs,2},
                {couch_rep_missing_revs,changes_loop,3}]},
              {gen_server,call,[<0.2835.0>,next_missing_revs,infinity]}}},
            {state,<0.2830.0>,
             {http_db,
              "http://IpAddress:5984/employee1111/?myddoc/myfilter/",[],
              [],
              [{"User-Agent","CouchDB/1.0.2"},
               {"Accept","application/json"},
               {"Accept-Encoding","gzip"}],
              [],get,nil,
              [{response_format,binary},{inactivity_timeout,30000}],
              10,500,nil},
             <0.2835.0>,<0.2838.0>,[],0,
             {[],[]},
             {<0.2839.0>,#Ref<0.0.0.13252>},
             false,0,nil,[],[]}]},
          {gen_server,handle_msg,5},
          {proc_lib,init_p_do_apply,3}]},
        {gen_server,call,[<0.2837.0>,next_docs,infinity]}}}]},
    {links,[<0.2833.0>,<0.2840.0>,<0.91.0>]},
    {dictionary,[{task_status_update,{{0,0,0},0}}]},
    {trap_exit,true},
    {status,running},
    {heap_size,4181},
    {stack_size,24},
    {reductions,3271}],
   [{neighbour,
     [{pid,<0.2840.0>},
      {registered_name,[]},
      {initial_call,{couch_event_sup,init,['Argument__1']}},
      {current_function,{gen_server,loop,6}},
      {ancestors,
       [<0.2830.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
        <0.41.0>]},
      {messages,[]},
      {links,[<0.2830.0>,<0.94.0>]},
      {dictionary,[]},
      {trap_exit,false},
      {status,waiting},
      {heap_size,233},
      {stack_size,9},
      {reductions,33}]}]]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2830.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2836.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2833.0>] ** Generic server 
<0.2833.0> terminating 
** Last message in was {'EXIT',<0.2830.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2830.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2833.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2834.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            0,<0.2834.0>,
                            {1310,360584,917260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2833.0>] {error_report,<0.40.0>,
    {<0.2833.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2833.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2830.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615917271,#Ref<0.0.0.13264>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,1597},
       {stack_size,24},
       {reductions,1574}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2841.0>] found a replication log for 
http://IpAddress:5984/employee1111/?myddoc/myfilter/

[Mon, 11 Jul 2011 05:03:04 GMT] [debug] [<0.2841.0>] didn't find a replication 
log for replicate_sample

[Mon, 11 Jul 2011 05:03:04 GMT] [info] [<0.2093.0>] starting replication 
"c165eef11321208d6a23d3b3ada2c270" at <0.2841.0>

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2844.0>] ** Generic server 
<0.2844.0> terminating 
** Last message in was {'EXIT',<0.2845.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,<0.2841.0>,false,0,
                               {<0.2847.0>,#Ref<0.0.0.13341>},
                               {[],[]},
                               0,0,0}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2844.0>] {error_report,<0.40.0>,
    {<0.2844.0>,crash_report,
     [[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
       {pid,<0.2844.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2841.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[<0.2841.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,137}],
      []]}}

[Mon, 11 Jul 2011 05:03:04 GMT] [error] [emulator] Error in process <0.2845.0> 
on node 'CouchbaseServer@WN7-82LH8BS' with exit value: {function_clause,
[{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
{couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
{couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
{couch_rep_missing_revs... 



[Mon, 11 Jul 2011 05:03:04 GMT] [error] [<0.2841.0>] ** Generic server 
<0.2841.0> terminating 
** Last message in was {'EXIT',<0.2844.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,<0.2842.0>,<0.2844.0>,<0.2846.0>,<0.2848.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            {db,<0.401.0>,<0.402.0>,nil,
                                <<"1310358504225731">>,<0.392.0>,<0.403.0>,
                                {db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
                                0,
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.7.10053969>,
                                    #Fun<couch_db_updater.8.35220795>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.9.107593676>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_db_updater.10.30996817>,
                                    #Fun<couch_db_updater.11.96515267>,
                                    #Fun<couch_btree.5.124754102>,
                                    #Fun<couch_db_updater.12.117826253>},
                                {btree,<0.392.0>,nil,
                                    #Fun<couch_btree.0.83553141>,
                                    #Fun<couch_btree.1.30790806>,
                                    #Fun<couch_btree.2.124754102>,nil},
                                0,<<"replicate_sample">>,
                                "../var/lib/couchdb/replicate_sample.couch",
                                [],[],nil,
                                {user_ctx,null,
                                    [<<"_admin">>],
                                    <<"{couch_httpd_auth, 
default_authentication_handler}">>},
                                nil,1000,
                                [before_header,after_header,on_file_open],
                                false},
                            false,false,
                            ["c165eef11321208d6a23d3b3ada2c270",
                             {[{<<"source">>,
                                <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                               {<<"target">>,<<"replicate_sample">>}]},
                             {user_ctx,null,
                                 [<<"_admin">>],
                                 <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                            nil,0,[],<<"ab19d4f7c29c636d534327f1125090dd">>,
                            {doc,<<>>,
                                {0,[]},
                                {[{<<"db_name">>,<<"employee1111">>},
                                  {<<"doc_count">>,12},
                                  {<<"doc_del_count">>,0},
                                  {<<"update_seq">>,13},
                                  {<<"purge_seq">>,0},
                                  {<<"compact_running">>,false},
                                  {<<"disk_size">>,28763},
                                  {<<"instance_start_time">>,
                                   <<"1310034223126775">>},
                                  {<<"disk_format_version">>,5},
                                  {<<"committed_update_seq">>,13}]},
                                [],false,[]},
                            {doc,
                                <<"_local/c165eef11321208d6a23d3b3ada2c270">>,
                                {0,[]},
                                {[]},
                                [],false,[]},
                            "Mon, 11 Jul 2011 05:03:04 GMT",
                            <<"1310034223126775">>,<<"1310358504225731">>,nil,
                            [{<0.2093.0>,#Ref<0.0.0.13350>}],
                            false,0,217144,nil,nil,<0.2849.0>}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2841.0>] {error_report,<0.40.0>,
    {<0.2841.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.2841.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.41.0>]},
       {messages,[]},
       {links,[<0.2846.0>,<0.2848.0>,<0.2849.0>,<0.2842.0>,<0.91.0>]},
       {dictionary,[{task_status_update,{{0,0,0},0}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,4181},
       {stack_size,24},
       {reductions,3267}],
      [{neighbour,
           [{pid,<0.2849.0>},
            {registered_name,[]},
            {initial_call,{couch_event_sup,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.2841.0>,couch_rep_sup,couch_primary_services,
                 couch_server_sup,<0.41.0>]},
            {messages,[]},
            {links,[<0.2841.0>,<0.94.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,33}]},
       {neighbour,
           [{pid,<0.2848.0>},
            {registered_name,[]},
            {initial_call,{erlang,apply,2}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[]},
            {messages,[]},
            {links,[<0.2841.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,16},
            {reductions,10}]}]]}}

[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2093.0>] Uncaught error in HTTP 
request: {exit,
                                 {json_encode,
                                  {bad_term,
                                   {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]}}}}

[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2846.0>] ** Generic server 
<0.2846.0> terminating 
** Last message in was {'EXIT',<0.2847.0>,
                           {{function_clause,
                                [{couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^3/1-0-',
                                     [undefined]},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-fun-1-',1},
                                 {couch_rep_missing_revs,
                                     '-get_missing_revs/2-lc$^4/1-1-',2},
                                 {couch_rep_missing_revs,get_missing_revs,2},
                                 {couch_rep_missing_revs,changes_loop,3}]},
                            {gen_server,call,
                                [<0.2844.0>,next_missing_revs,infinity]}}}
** When Server state == {state,<0.2841.0>,
                            {http_db,
                                "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                [],[],
                                [{"User-Agent","CouchDB/1.0.2"},
                                 {"Accept","application/json"},
                                 {"Accept-Encoding","gzip"}],
                                [],get,nil,
                                [{response_format,binary},
                                 {inactivity_timeout,30000}],
                                10,500,nil},
                            <0.2844.0>,<0.2847.0>,[],0,
                            {[],[]},
                            {<0.2848.0>,#Ref<0.0.0.13343>},
                            false,0,nil,[],[]}
** Reason for termination == 
** {function_clause,
       [{couch_rep_reader,handle_info,
            [{'EXIT',<0.2847.0>,
                 {{function_clause,
                      [{couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^3/1-0-',
                           [undefined]},
                       {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                       {couch_rep_missing_revs,
                           '-get_missing_revs/2-lc$^4/1-1-',2},
                       {couch_rep_missing_revs,get_missing_revs,2},
                       {couch_rep_missing_revs,changes_loop,3}]},
                  {gen_server,call,[<0.2844.0>,next_missing_revs,infinity]}}},
             {state,<0.2841.0>,
                 {http_db,
                     "http://IpAddress:5984/employee1111/?myddoc/myfilter/",
                     [],[],
                     [{"User-Agent","CouchDB/1.0.2"},
                      {"Accept","application/json"},
                      {"Accept-Encoding","gzip"}],
                     [],get,nil,
                     [{response_format,binary},{inactivity_timeout,30000}],
                     10,500,nil},
                 <0.2844.0>,<0.2847.0>,[],0,
                 {[],[]},
                 {<0.2848.0>,#Ref<0.0.0.13343>},
                 false,0,nil,[],[]}]},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}


[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2846.0>] {error_report,<0.40.0>,
    {<0.2846.0>,crash_report,
     [[{initial_call,{couch_rep_reader,init,['Argument__1']}},
       {pid,<0.2846.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_reader,handle_info,
                        [{'EXIT',<0.2847.0>,
                             {{function_clause,
                                  [{couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^3/1-0-',
                                       [undefined]},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-fun-1-',1},
                                   {couch_rep_missing_revs,
                                       '-get_missing_revs/2-lc$^4/1-1-',2},
                                   {couch_rep_missing_revs,get_missing_revs,2},
                                   {couch_rep_missing_revs,changes_loop,3}]},
                              {gen_server,call,
                                  [<0.2844.0>,next_missing_revs,infinity]}}},
                         {state,<0.2841.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],[],
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"},
                                  {"Accept-Encoding","gzip"}],
                                 [],get,nil,
                                 [{response_format,binary},
                                  {inactivity_timeout,30000}],
                                 10,500,nil},
                             <0.2844.0>,<0.2847.0>,[],0,
                             {[],[]},
                             {<0.2848.0>,#Ref<0.0.0.13343>},
                             false,0,nil,[],[]}]},
                    {gen_server,handle_msg,5},
                    {proc_lib,init_p_do_apply,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2841.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,
           [{'EXIT',<0.2841.0>,
                {function_clause,
                    [{couch_rep_missing_revs,
                         '-get_missing_revs/2-lc$^3/1-0-',
                         [undefined]},
                     {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                     {couch_rep_missing_revs,
                         '-get_missing_revs/2-lc$^4/1-1-',2},
                     {couch_rep_missing_revs,get_missing_revs,2},
                     {couch_rep_missing_revs,changes_loop,3}]}}]},
       {links,[]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,610},
       {stack_size,24},
       {reductions,197}],
      []]}}

[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.91.0>] {error_report,<0.40.0>,
    {<0.91.0>,supervisor_report,
     [{supervisor,{local,couch_rep_sup}},
      {errorContext,child_terminated},
      {reason,
          {function_clause,
              [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                   [undefined]},
               {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
               {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
               {couch_rep_missing_revs,get_missing_revs,2},
               {couch_rep_missing_revs,changes_loop,3}]}},
      {offender,
          [{pid,<0.2841.0>},
           {name,"c165eef11321208d6a23d3b3ada2c270"},
           {mfa,
               {gen_server,start_link,
                   [couch_rep,
                    ["c165eef11321208d6a23d3b3ada2c270",
                     {[{<<"source">>,
                        <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                       {<<"target">>,<<"replicate_sample">>}]},
                     {user_ctx,null,
                         [<<"_admin">>],
                         <<"{couch_httpd_auth, 
default_authentication_handler}">>}],
                    []]}},
           {restart_type,temporary},
           {shutdown,1},
           {child_type,worker}]}]}}

[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2842.0>] ** Generic server 
<0.2842.0> terminating 
** Last message in was {'EXIT',<0.2841.0>,
                           {function_clause,
                               [{couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^3/1-0-',
                                    [undefined]},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-fun-1-',1},
                                {couch_rep_missing_revs,
                                    '-get_missing_revs/2-lc$^4/1-1-',2},
                                {couch_rep_missing_revs,get_missing_revs,2},
                                {couch_rep_missing_revs,changes_loop,3}]}}
** When Server state == {state,nil,nil,
                            [<0.2841.0>,
                             {http_db,
                                 "http://IpAddress:5984/employee1111/?
myddoc/myfilter/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.2"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",0},
                                  {"feed",normal}],
                                 get,nil,
                                 [{stream_to,{<0.2842.0>,once}},
                                  {response_format,binary}],
                                 10,500,<0.2843.0>},
                             0,
                             [{<<"source">>,
                               <<"http://IpAddress:5984/employee1111/?
myddoc/myfilter">>},
                              {<<"target">>,<<"replicate_sample">>}]],
                            undefined,<0.2843.0>,
                            {1310,360584,979260},
                            true,0,<<>>,nil,
                            {[],[]}}
** Reason for termination == 
** {function_clause,
       [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',[undefined]},
        {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
        {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',2},
        {couch_rep_missing_revs,get_missing_revs,2},
        {couch_rep_missing_revs,changes_loop,3}]}


[Mon, 11 Jul 2011 05:03:05 GMT] [error] [<0.2842.0>] {error_report,<0.40.0>,
    {<0.2842.0>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.2842.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {function_clause,
                   [{couch_rep_missing_revs,'-get_missing_revs/2-lc$^3/1-0-',
                        [undefined]},
                    {couch_rep_missing_revs,'-get_missing_revs/2-fun-1-',1},
                    {couch_rep_missing_revs,'-get_missing_revs/2-lc$^4/1-1-',
                        2},
                    {couch_rep_missing_revs,get_missing_revs,2},
                    {couch_rep_missing_revs,changes_loop,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.2841.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.41.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1310360615979267,#Ref<0.0.0.13339>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,1496}],
      []]}}

[Mon, 11 Jul 2011 05:03:05 GMT] [info] [<0.2093.0>] Stacktrace: [{couch_util,'-
json_encode/1-fun-0-',1},
             {mochijson2,json_encode,2},
             {mochijson2,'-json_encode_array/2-fun-0-',3},
             {lists,foldl,3},
             {mochijson2,json_encode_array,2},
             {mochijson2,'-json_encode_proplist/2-fun-0-',3},
             {lists,foldl,3},
             {mochijson2,json_encode_proplist,2}]

[Mon, 11 Jul 2011 05:03:05 GMT] [info] [<0.2093.0>] 127.0.0.1 - - 'POST' 
/_replicate 500

[Mon, 11 Jul 2011 05:03:05 GMT] [debug] [<0.2093.0>] httpd 500 error response:
 {"error":"json_encode","reason":"{bad_term,{couch_rep_missing_revs,'-
get_missing_revs/2-lc$^3/1-0-',\n                                  
[undefined]}}"}



Mime
View raw message