jexp / neo4j-clean-remote-db-addon

A server extension that allows cleaning the db with a single rest call (use with care)
55 stars 7 forks source link

RE: error about the Round Robin Database (RRD) file #4

Open bdmu opened 12 years ago

bdmu commented 12 years ago

Hello,

This issue "https://github.com/jexp/neo4j-clean-remote-db-addon/issues/2" doesn't seem to be totally fixed: there is no more error in log, but the graph showing the number of node and properties is not updating in the webadmin interface: the count go down to 0 and doesn't increase anymore when creating new nodes.

It would be very nice if you could fix this error.

Thanks in advance

Best regards. Christophe

ghost commented 11 years ago

It seems to be a bug that the handling of rrd is invalid when starting the database. Debgging ServerStatistics.coffee, It checked that all montor datas were invalid. For example, if the number of node is 5, "node_count" is -5.

jexp commented 11 years ago

Yep, that is an unfortunate coincidence as deleting the db behind the back of RRD let's the RRD become invalid. Haven't found a workaround around this yet (except a full server restart but then the value of this plugin is in vain).

ghost commented 11 years ago

The MonitorService constructor has an argument of rrd. Isn't the old rrd instance injected even if new rrd instance is set to Database instance before starting up the database?

Actually I tried to do so, but the handling of rrd was invalid.