Skip to content
This repository was archived by the owner on Sep 22, 2026. It is now read-only.
This repository was archived by the owner on Sep 22, 2026. It is now read-only.

Multi-node deployments with Experimental Neo4J Handler may duplicate object IDs #191

Open

Description

@keirafadams

Describe the bug
Multi-node deployments using the experimental Neo4J handler may duplicate object IDs, leading to data overwrites when under load

To Reproduce
Create a multi-node deployment behind a load-balancer (e.g. HAProxy)

Expected behavior
All deployments should create unique object IDs regardless of the data source

Additional context
We should probably move to a UUID based ID generation ASAP.

Activity

  1. added
    Bug
    on Jul 24, 2024
  2. changed the title [-]Multi-node deployments with Neo4J may duplicate object IDs[/-] [+]Multi-node deployments with Experimental Neo4J Handler may duplicate object IDs[/+] on Jul 24, 2024
  3. keirafadams commented on Apr 17, 2025

    @keirafadams
    ContributorAuthor

    @cwlacewe this should be a pretty quick fix if we can find a viable UUID library that isn't a pain license wise (this was what we walked back last time in the interest of getting it out the door).

    We could also consider doing something like a hash of the incoming metadata + a timestamp or some other set of data, but thats slightly riskier given we have a shared namespace between all clients.

  4. keirafadams commented on May 16, 2025

    @keirafadams
    ContributorAuthor

    @cwlacewe giving this thread a bump, if we can decide on a UUID library, this might be another good task for @StevenRojasC

  5. cwlacewe commented on May 16, 2025

    @cwlacewe
    Contributor

    @cwlacewe giving this thread a bump, if we can decide on a UUID library, this might be another good task for @StevenRojasC

    @ifadams do you have any libraries in mind and I can check the license. I found one with a MIT license (https://github.com/crashoz/uuid_v4) but need to make sure it has what we need.

  6. keirafadams commented on May 21, 2025

    @keirafadams
    ContributorAuthor

    @cwlacewe, as long as it functions well, I have no strong opinions on library! I'll take a look in the next couple days and we can pick one and maybe hand this one off to Steven.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions