Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

210 Integration of descriptor sets into neo4j based handler #268

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

ifadams
Copy link
Contributor

@ifadams ifadams commented Feb 24, 2025

This PR adds the ability to do the following with Neo4J based metadat storage

  • Add Descriptor Sets
  • Find Descriptor Sets
  • Add descriptors and arbitrary metadata
  • Find descriptors and arbitrary metadata

It currently does not support graph traversal for adding and retrieval of descriptors, but otherwise has feature parity with the existing PMGD based descriptor set support.

Note that I will be continuing cleanup and test development while this PR is open, as this PR is relatively complex and want to be able to parallelize changes as we go along.

Copy link
Contributor

Target CPP Coverage: 64.1421%
Source CPP Coverage: 60.9934%

Target Python Coverage: 97.94%
Source Python Coverage: 97.94%

@cwlacewe cwlacewe added this to the v2.11.0 Tasks milestone Feb 27, 2025
@@ -62,7 +74,7 @@ void QueryHandlerNeo4j::init() {
char *pass = getenv("NEO4J_PASS");

uint_fast32_t flags = NEO4J_INSECURE;
int nr_conns = 16;
int nr_conns = 32; //TODO update to be configurable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When can we make this configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need the right phase of the moon.

I think I have a ticket open for it, Ill check there, if we dont, Ill create one. At the moment 32 is enough for most use-cases, and when we exceed it, its not as big a problem as with PMGD as we dont have the same gnarly timeouts, the VDMS logic just waits until one pops up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First Phase Integration of Descriptor Sets into Neo4J based handler
2 participants