0 Replies Latest reply on Sep 18, 2009 6:45 PM by Clebert Suconic

    LargeMessage rename and crash

    Clebert Suconic Master

      I'm currently working on https://jira.jboss.org/jira/browse/HORNETQ-49.

      The issue is that I was renaming the file, and then placing it on the store (paging or journal).

      I need to do the opposite, place it on the store (paging or journal), and then rename it. (and it has to be done before the transaction.commit or prepare).

      Basically I have moved the rename inside Message.setStored, and I will do a couple of extra checks during depage and reload.

      It's not really hard to do it.. I just need to write a few tests to make sure it's done correctly.

      But I was wondering, since Tim is changing LargeMessage, and Paging to deleage to the StorageManager due to the repplication changes. Maybe I should hold working on this until he is done?

      Tim.. what do you say?