Menu

#32 Index update when delete registers

1.4.0
open-works-for-me
5
2011-08-04
2011-07-27
No

After delete some registers, it seems that floggy does not update the indexs files of it. Then the index file keeps references to registers that does not exists anymore. It throws exceptions on the query methods and use memory space and process for nothing.

Discussion

  • Thiago Leão Moreira

    • labels: 1010170 --> persistence-framework-impl
    • assigned_to: nobody --> thiagolm
    • status: open --> open-works-for-me
     
  • Thiago Leão Moreira

    Hi André,

    Are you calling the PersistableManager.shutdown() method when you close your application? This seems to be the only reason why the index get out of date.
    I created a testcase for this issue and it is working fine.

     
  • Andre Luiz Pires Silva

    Hi Thiago! Thank you for your repply!
    I am not calling the PersistableManager.shutdown(), so i think it`s my fault, I`m sorry. I`ll try it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.