Skip to content

Commit

Permalink
Test correctness of reading property chains with concurrent record reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
burqen committed Jun 30, 2016
1 parent 5d91e08 commit 4e95a46
Show file tree
Hide file tree
Showing 2 changed files with 294 additions and 325 deletions.
Expand Up @@ -58,9 +58,9 @@
import org.neo4j.kernel.api.exceptions.schema.IllegalTokenNameException;
import org.neo4j.kernel.api.exceptions.schema.IndexBrokenKernelException;
import org.neo4j.kernel.api.exceptions.schema.IndexSchemaRuleNotFoundException;
import org.neo4j.kernel.api.exceptions.schema.ProcedureConstraintViolation;
import org.neo4j.kernel.api.exceptions.schema.SchemaRuleNotFoundException;
import org.neo4j.kernel.api.exceptions.schema.TooManyLabelsException;
import org.neo4j.kernel.api.exceptions.schema.ProcedureConstraintViolation;
import org.neo4j.kernel.api.index.IndexDescriptor;
import org.neo4j.kernel.api.index.InternalIndexState;
import org.neo4j.kernel.api.procedures.ProcedureDescriptor;
Expand Down Expand Up @@ -401,6 +401,10 @@ public Object relationshipGetProperty( long relationshipId, int propertyKeyId )
{
return relationship.get().getProperty( propertyKeyId );
}
finally
{
statement.assertOpen();
}
}

@Override
Expand Down Expand Up @@ -433,6 +437,10 @@ public PrimitiveIntIterator nodeGetPropertyKeys( long nodeId ) throws EntityNotF
{
return node.get().getPropertyKeys();
}
finally
{
statement.assertOpen();
}
}

@Override
Expand All @@ -443,6 +451,10 @@ public PrimitiveIntIterator relationshipGetPropertyKeys( long relationshipId ) t
{
return relationship.get().getPropertyKeys();
}
finally
{
statement.assertOpen();
}
}

@Override
Expand Down

0 comments on commit 4e95a46

Please sign in to comment.