Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-131

GlobalGraphOperations in Neo4j are not transactionally sound -- speed vs. consistency boolean.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.0.0-incubating
    • neo4j, structure
    • None

    Description

      Like Neo4j 1.x, we see the same issue in Neo4j 2.x. I added the following methods to Neo4jHelper.

          public static boolean isDeleted(final Node node) {
              try {
                  node.getLabels().iterator().next();
                  return false;
              } catch (final IllegalStateException e) {
                  return true;
              }
          }
       
          public static boolean isDeleted(final Relationship relationship) {
              try {
                  relationship.getType();
                  return false;
              } catch (final IllegalStateException e) {
                  return true;
              }
          }
      

      In TinkerPop2 we allowed a user to specifiy if they wanted to have this check done or not with a boolean flag (speed vs. consistency). Provide the same option for TP3 Neo4jGraph.

      Attachments

        Activity

          People

            Unassigned Unassigned
            okram Marko A. Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: