couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garren Smith <gar...@apache.org>
Subject Re: Selecting Winner: Fauxton
Date Thu, 23 Feb 2017 20:56:13 GMT
Hi John,

I'm not sure. I'll have to take a look sometime.

Cheers
Garren

On Thu, Feb 23, 2017 at 9:53 PM, John Le Brasseur <johnlebrasseur@gmail.com>
wrote:

> Hi Garren.
> Went back to the instructions. :)
> (http://docs.couchdb.org/en/latest/replication/conflicts.html)
> Did a _bulk_docs update with _deleted:true in unwanted revs.
> Worked.
> Fauxton happy.
> I'm happy.
> Question:
> Why could Fauxton not do that???
> Thanks.
>
>
> On 23 February 2017 at 14:01, John Le Brasseur <johnlebrasseur@gmail.com>
> wrote:
>
> > Hi Garren.
> >
> > Thank you.
> >
> > I resolve conflicts by PUT ing an updated doc using the latest rev no.
> > which in any case is the 'Server-Selected Rev:'.
> > All is/seems to be fine.
> >
> > In Fauxton, however, when I click 'delete other conflicts' or 'select as
> > winner' nothing happens. A warning is given re deleting documents but no
> > revisions are deleted and the other alternatives in the dropdown are not
> > activated at all.
> > The couchdb.log shows no change in the situation either as far as I can
> > see.
> >
> > I am running v 2.0.0 on a single node on Windows 10.
> >
> >
> > I am using the following to PUT my new document:
> >
> > curl -X PUT 'http://usr:pwd@127.0.0.1:5984/db/id' -d @1234.json -H
> > "Content-Type: application/json"
> >
> >
> > Understandably I presume, I tried and failed to DELETE the conflicts
> using:
> >
> > curl -X DELETE 'http://usr:pwd@127.0.0.1:5984/db/id?_rev=other-rev'
> >
> > resulting in {"error":"conflict","reason":"Document update conflict."}
> >
> > I presume one cannot just delete conflicts.
> >
> >
> > Should I be using different port numbers? (v2.0.0)
> >
> >
> >
> > Everything seems to be behaving normally and all the commands I use are
> > the same as those I have used in v1.6.1.
> >
> >
> >
> > Maybe my Fauxton is slightly out of date. Can it be updated separately??
> >
> >
> >
> > Thanks for your time.
> >
> >
> > On 23 February 2017 at 12:10, Garren Smith <garren@apache.org> wrote:
> >
> >> Hi John,
> >>
> >> If you want the server selected winner then select delete other
> conflicts.
> >> If you want the other revision to win, then select it in the dropdown
> and
> >> click select as winner.
> >>
> >> Cheers
> >> Garren
> >>
> >> On Wed, Feb 22, 2017 at 9:01 PM, John Le Brasseur <
> >> johnlebrasseur@gmail.com>
> >> wrote:
> >>
> >> > Hi.
> >> > I was resolving a conflict and happened to notice that Fauxton had a
> >> > '(1)Conflicts' tab showing.
> >> > Its very nice.
> >> > It shows the server selected winner and the alternative.
> >> > One can check the complete documents as well.
> >> > Very useful.
> >> > However, I wanted to make the 'other' revision my choice as the winner
> >> but
> >> > there seemed no way to highlight the current 'loser' and make it the
> >> > winner.
> >> > Is there a way of doing this?
> >> >
> >> >
> >> > John
> >> >
> >>
> >
> >
> > John
> >
>
>
> John
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message