neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
671 stars 345 forks source link

Fix plan view for DbHits over 32 bit integer max #1938

Closed OskarDamkjaer closed 11 months ago

OskarDamkjaer commented 11 months ago

Some of the statistics from the driver are wrong for large numbers. It’s reproducible by calling PROFILE MATCH (n:Person|Node) return count(*) on a database where you have over 32 bit signed integer max nodes (about two billion) with these labels. You’ll see that the rows & dbHits numbers will be negative.

This is caused by a four year old dormant bug in the driver code, I've reached out to the drivers team and there was nothing preventing us from using this workaround until it is fixed in the driver.