All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] report-error.bbclass: Added file syncronization.
Date: Mon, 29 Jun 2015 13:18:39 +0200	[thread overview]
Message-ID: <20150629111839.GB2393@jama> (raw)
In-Reply-To: <CAJTo0LZrsr7u7a-jRhoG6nKP51vXBGCiuRsm51YoySiK_YSxsg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

On Fri, Jun 26, 2015 at 04:17:01PM +0100, Burton, Ross wrote:
> On 26 June 2015 at 06:56, <mariano.lopez@linux.intel.com> wrote:
> 
> > errorreport_handler would fail if several errors are
> > triggered at the same time because of two proccess
> > writting to the same file. This patch add the required
> > syncronization to handle concurrent process.
> >
> 
> The code in the autobuilder that sends error reports doesn't care for the
> filenames, just that they're under error-reports/.  Instead of locking
> around a single file - which surely will replace errors with lost reports -
> just write each report to a unique filename.

This is about multiple TaskFailed events being processed at the same
time, isn't it? So it's still part of the same report and unrelated to
uploading to web app.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-06-29 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1435297800.git.mariano.lopez@linux.intel.com>
2015-06-26  5:56 ` [PATCH 1/1] report-error.bbclass: Added file syncronization mariano.lopez
2015-06-26 15:17   ` Burton, Ross
2015-06-29 11:18     ` Martin Jansa [this message]
2015-06-29 11:43       ` Burton, Ross
2015-06-29 12:45         ` Martin Jansa
2015-06-29 14:42           ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150629111839.GB2393@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.