[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [RFC][PATCH] Deadlock in RRD handling during master transition


  • To: <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: "Ted Lin" <tlin@xxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 9 Aug 2010 11:52:02 -0400
  • Delivery-date: Mon, 09 Aug 2010 09:25:18 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: Acs32s7BMZ1StTAOQneYro8dvkGhyg==
  • Thread-topic: [RFC][PATCH] Deadlock in RRD handling during master transition

The codebase that this XAPI patch is based on is a bit old (5.5.0;
George), but I think some form of it still exists in the latest
codebase.

What we're seeing is that if the master host goes away during slave RRD
processing, it will prevent the slave XAPI from transitioning to master.
The patch adds a try-lock in the RRD backup so if the lock is still
held, the backup is skipped.


I'm wondering if this is a safe change (at least for 5.5.0), and if
anyone has ever run into this before?  (An unreliable way of generating
the situation is to pull the management link during a migration.)



Thanks for the help,

--
Ted M Lin

Attachment: api.hg-rrd_deadlock
Description: api.hg-rrd_deadlock

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.