Version 4

    List of things we should test

    • failures after committing record and before any resources have committed

    • failures before committing record.  Does it rollback correctly

    • failure after one but not all have prepared

    • failure after one but not all have committed

    • A mixture of all of the above in one test (to test that the log handles all scenarios at once)

    • test log corruption at last record

    • test log corruption at any record

    • test scenario where not all resources are available at recovery.

    • test hot deployment of a resource