Re: comment closing race
- From: Alexander Larsson <alexl redhat com>
- To: "yarrr-list gnome org" <yarrr-list gnome org>
- Subject: Re: comment closing race
- Date: Wed, 04 May 2005 15:15:13 +0200
On Wed, 2005-05-04 at 12:31 +0200, Alexander Larsson wrote:
> I just found a race when debugging why closed comments sometimes don't
> show up, even though the live comment gets removed (but reloading fixes
> it).
>
> It turns out that this is a race. We signal the ActiveTopic changed
> before the xmlrpc call is done. This means the transaction is not
> commited yet. A quick client can then re-dump the topic before the
> transaction, missing the new comment.
I think this is also happening for subscriptions to statements. Because
sometimes they don't update correctly, and the same race should be
possible for them. (Although i didn't verify that this is what caused it
to not update for me.)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a scrappy flyboy matador on his last day in the job. She's a
chain-smoking blonde angel with the power to see death. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]