Easiest way to load last journal file

59 views
Skip to first unread message

chetna chaudhari

unread,
Jun 30, 2014, 8:08:59 AM6/30/14
to jour...@googlegroups.com
Hi,
      Is there any way to load the last (or current) journal file? In my case I have 17 journal files out of which 1-16 are of 33M and last one is in use. SO whenever I restart my application all journals are getting loaded, so for temporary, I have written a backup job which archives previous files. But for this I need to stop my service for some time.(whenever I am moving old journals to archive location). So I am looking for a way , through which I can only load last i.e db-17.log file.

Please help me on this.

Sergio Bossa

unread,
Jul 5, 2014, 6:49:58 AM7/5/14
to jour...@googlegroups.com
Hi,

during startup, all journal files need to be "recovered", but checksum verification is what's usually takes most of the time: you can try disabling it with setChecksum(false).

Hope that helps.
Cheers,

Sergio B.


--
You received this message because you are subscribed to the Google Groups "Journal.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to journalio+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Sergio Bossa
http://www.linkedin.com/in/sergiob
Reply all
Reply to author
Forward
0 new messages