#2696: (PostgreSQL) missing rollback in db.scheduler
---------------------+------------------------
Reporter:  gracinet  |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  undecided
 Version:  master    |  Resolution:
Keywords:            |
---------------------+------------------------

Comment (by dustin):

 Checking and then inserting introduces a race condition - that's what
 we're trying to avoid with this logic.

 It's OK to introduce DB-specific behavior in the DB modules, if there's a
 need to.

 Is it automatic that when an insert fails, Postgres aborts the whole
 transaction?  Or is that something automatic that's happening on the
 client?  In my testing with postgres, this works fine (the
 
buildbot.test.unit.test_db_schedulers.TestSchedulersConnectorComponent.test_classifyChanges_again
 executes this particular except block)

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2696#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to