Menu

#99 Add manual sync/close to Graph

0.5.6.1
closed-fixed
On Disk (10)
8
2010-05-29
2008-08-19
No

Now that Graph is properly refactored and BTree is being written out on adds/removes - allow users to call close and sync/refersh (possibly) on graph to ensure that changes are written to disk.

The "close" method on graph currently does nothing.

A similar method should be on the CollectionFactory and MapFactory. Used by the top level factories to ensure data is written to disk.

Both should sync the BDB environment value - as these are not written out yet (apparently). The BTree is now written out.

Discussion

  • Andrew Newman

    Andrew Newman - 2008-10-21
    • milestone: 800749 --> 891124
     
  • Andrew Newman

    Andrew Newman - 2008-10-21
    • milestone: 891124 --> 800749
     
  • Andrew Newman

    Andrew Newman - 2010-05-29

    Actual implementation is discussed here:
    http://code.google.com/p/jrdf/wiki/PersistentGraphs

    Basically factories do not monitor resources - graph close() must be called.

     
  • Andrew Newman

    Andrew Newman - 2010-05-29
    • milestone: 800749 --> 0.5.6.1
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB