That’s weird, I only have 1 node. I deleted a bunch of users, and thus
their databases, and the error stopped.

Thanks,
Steve

On Mon, Apr 9, 2018 at 6:45 PM Robert Samuel Newson <rnew...@apache.org>
wrote:

> Hi,
>
> That's a check that the security object in every shard is the same.
>
>         % assert that shards have the same security object
>         true = lists:all(fun ({_, {SecProps1}}) ->
>             SecProps =:= SecProps1
>         end, Shards),
>
> so I suggest writing the /dbname/_security again, perhaps a node was down
> when you changed it.
>
> B.
>
> > On 9 Apr 2018, at 12:51, Steven Hammond <shamm...@northpub.com> wrote:
> >
> > Hello,
> >
> > I am running couchdb 2.1.1 on Ubuntu 17-10, and I am seeing a strange
> error
> > when I try to enable couch_peruser. I feel like this was working for me
> > yesterday, but I am not sure what I would have done to break it.
> >
> > Apr  9 07:43:51 couchdb211 couchdb[653]: [error]
> > 2018-04-09T11:43:51.761976Z couchdb@127.0.0.1 <0.583.0> --------
> Supervisor
> > couch_peruser_sup had child couch_peruser started with
> > couch_peruser:start_link() at <0.15191.0> exit with reason normal in
> > context child_terminated
> >
> >
> >
> > Then, if I enable delete_dbs as part of that, it seems to get worse.
> >
> >
> >
> > Apr  9 07:48:57 couchdb211 couchdb[653]:
> >
> {{badmatch,false},[{couch_peruser,ensure_security,3,[{file,"src/couch_peruser.erl"},{line,283}]},{couch_peruser,changes_handler,3,[{file,"src/couch_peruser.erl"},{line,151}]},{couch_changes,changes_enumerator,2,[{file,"src/couch_changes.erl"},{line,784}]},{couch_btree,stream_kv_node2,8,[{file,"src/couch_btree.erl"},{line,848}]},{couch_btree,stream_kp_node,7,[{file,"src/couch_btree.erl"},{line,775}]},{couch_btree,fold,4,[{file,"src/couch_btree.erl"},{line,222}]},{couch_db,changes_since,5,[{file,"src/couch_db.erl"},{line,1400}]},{couch_changes,keep_sending_changes,3,[{file,"src/couch_changes.erl"},{line,637}]}]}
> >
> > Apr  9 07:48:57 couchdb211 couchdb[653]: [error]
> > 2018-04-09T11:48:57.309956Z couchdb@127.0.0.1 <0.583.0> --------
> Supervisor
> > couch_peruser_sup had child couch_peruser started with
> > couch_peruser:start_link() at <0.26071.0> exit with reason no match of
> > right hand value false at couch_peruser:ensure_security/3(line:283) <=
> > couch_peruser:changes_handler/3(line:151) <=
> > couch_changes:changes_enumerator/2(line:784) <=
> > couch_btree:stream_kv_node2/8(line:848) <=
> > couch_btree:stream_kp_node/7(line:775) <= couch_btree:fold/4(line:222) <=
> > couch_db:changes_since/5(line:1400) <=
> > couch_changes:keep_sending_changes/3(line:637) in context
> child_terminated
> >
> >
> > Any suggestions are greatly appreciated.
> >
> > Thanks,
> >
> > Steve
>
>

Reply via email to