-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
OdbGraph
should show a No nodes to initialize from current storage message instead of initializing 0 nodes from existing storage - this may take some time
overflowdb/tinkerpop3/src/main/java/io/shiftleft/overflowdb/OdbGraph.java
Lines 120 to 121 in 76faf72
final Set<Map.Entry<Long, byte[]>> serializedNodes = storage.allNodes(); | |
logger.info("initializing " + serializedNodes.size() + " nodes from existing storage - this may take some time"); |
Stumbled upon this small discrepancy while trying out Ocular.
ocular> workspace.openProject("HELLO_SHIFTLEFT")
Loading base CPG from: /home/ursachec/.shiftleft/ocular/workspace/HELLO_SHIFTLEFT/cpg.bin
Overlays:
2020-04-03 18:39:16.602 [HeapUsageMonitor] INFO installed GC monitors. will clear references if heap (after GC) is larger than 80%
2020-04-03 18:39:16.606 [OdbGraph] INFO initializing 0 nodes from existing storage - this may take some time
2020-04-03 18:39:16.607 [OdbGraph] INFO initialized odbgraph[nodes: 0] from existing storage in 4ms
res12: Option[workspacehandling.Project] = Some(
Project(
ProjectFile(
"/home/ursachec/code/HelloShiftLeft/target/hello-shiftleft-0.0.1.jar",
"HELLO_SHIFTLEFT"
),
/home/ursachec/.shiftleft/ocular/workspace/HELLO_SHIFTLEFT,
Some(io.shiftleft.codepropertygraph.Cpg@cd809c6f),
List()
)
)
Metadata
Metadata
Assignees
Labels
No labels