jexp/neo4j-clean-remote-db-addon — Issue #2: error about the Round Robin Database (RRD) file
Author: bdmu
Created: 2012-02-21 13:15:34+00:00
State: open

Hello,

I'm working on Neo4j 1.5 with 1.5 version of this addon.

There is an error about the Round Robin Database (RRD) file when the extension remove the store directory.

The following exception starts to appear and then fills the log file.

Would it be possible to fix this in this extension please ?

Thanks in advance for your answer

Best regards,
Christophe

Feb 21, 2012 4:54:46 PM org.neo4j.server.logging.Logger log
INFO: Successfully shutdown database
Feb 21, 2012 4:54:47 PM org.neo4j.server.extension.test.delete.DeleteDatabaseResource cleanDb
WARNING: Deleted Database: {node-indexes=[], nodes=1000, relationship-indexes=[], store-dir=C:\neo4j-community-1.5\data\graph.db, relationships=1507, maxNodesToDelete=1000, size=2356131}
Feb 21, 2012 4:54:47 PM org.neo4j.server.extension.test.delete.DeleteDatabaseResource cleanDb
WARNING: Deleted Database: {node-indexes=[], nodes=0, relationship-indexes=[], relationships=0, maxNodesToDelete=1000}
Feb 21, 2012 4:54:48 PM org.neo4j.server.logging.Logger log
WARNING:
java.lang.IllegalStateException: RRD already closed, cannot store this sample
at org.rrd4j.core.RrdDb.store(RrdDb.java:548)
at org.rrd4j.core.Sample.update(Sample.java:197)
at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)