Re: Deadlock between commitChanges and snapshotsUpdatedForObjects

From: Martin Thelian (martin.thelia..ovo.cc)
Date: Mon May 19 2008 - 03:20:07 EDT

  • Next message: Tore Halset: "Re: Deadlock between commitChanges and snapshotsUpdatedForObjects"

    Hi,

    thank you for the hints. I'll try the patch. Are there any pitfalls when
    using this patch?

    Thanks,
    Martin

    Andrus Adamchik schrieb:
    > Ok, it is more clear now (it is still not clear how exactly thread 5
    > locks that PostgreSQL table, but the overall explanation makes sense).
    > One suggestion is to upgrade to Cayenne 3.0 (3.0M3 for now, and 3.0M4
    > once that becomes available). It reduces the scope of the shared
    > DataRowStore lock per this Jira:
    >
    > https://issues.apache.org/cayenne/browse/CAY-722
    >
    > Alternatively you may attempt to patch 1.2 based on CAY-722 diff:
    >
    > http://tinyurl.com/56ja5r
    >
    > Andrus



    This archive was generated by hypermail 2.0.0 : Mon May 19 2008 - 03:20:47 EDT