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

Added tests for node id reuse #7600

Merged
merged 2 commits into from Jul 26, 2016
Merged

Added tests for node id reuse #7600

merged 2 commits into from Jul 26, 2016

Conversation

lutovich
Copy link
Contributor

@lutovich lutovich commented Jul 18, 2016

To make sure it is possible to specify NODE as well as RELATIONSHIP in
dbms.ids.reuse.types.override setting.

changelog: [enterprise] Made possible to allow node id reuse using 'dbms.ids.reuse.types.override' setting.

To make sure it is possible to specify `NODE` as well as `RELATIONSHIP` in
`dbms.ids.reuse.types.override` setting.
@@ -32,7 +32,7 @@
public class EnterpriseEditionSettings
{
@Description( "Specified names of id types (comma separated) that should be reused. " +
"Currently only 'RELATIONSHIP' type is supported. " )
Copy link
Member

Choose a reason for hiding this comment

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

Where is the actual list of supported types enforced?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not enforced. I'll add this.

Copy link
Member

Choose a reason for hiding this comment

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

Will this PR then enable NODE to be used? I'd expect not since it's merely adding tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, it will not enable node id reuse. It might not be entirely safe to enable node/relationship id reuse in 2.3. We should probably do it for 3.1.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tinwelint added restriction on values in the list

Copy link
Member

Choose a reason for hiding this comment

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

Oh, so there was previously nothing preventing config from specifying NODE or any other id type?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes right, sorry, missed your message somehow.

Only node and relationship id reuse is supported. This commit makes the
corresponding setting accept list of only those tow values.
@tinwelint tinwelint merged commit 37e1daa into neo4j:2.3 Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants