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
Conversation
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. " ) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
To make sure it is possible to specify
NODE
as well asRELATIONSHIP
indbms.ids.reuse.types.override
setting.changelog: [enterprise] Made possible to allow node id reuse using 'dbms.ids.reuse.types.override' setting.