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

ISPN-9013 Partition Handling enabled toggle should set merge-policy=NONE #5878

Conversation

danberindei
Copy link
Member

https://issues.jboss.org/browse/ISPN-9013

Added deprecation javadoc and fix log message.

@@ -1591,7 +1591,7 @@ TimeoutException coordinatorTimeoutWaitingForView(int expectedViewId, int curren
IllegalStateException getConflictsStateTransferInProgress(String cacheName);

@LogMessage(level = WARN)
@Message(value = "The partition handling 'enable' attribute has been deprecated. Please update your configuration file to use the 'type' attribute instead", id = 464)
@Message(value = "The partition handling 'enable' attribute has been deprecated. Please update your configuration to use 'when-split' instead", id = 464)
Copy link
Member

Choose a reason for hiding this comment

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

s/enable/enabled/

@danberindei danberindei force-pushed the ISPN-9013_partitionhandling_enabled branch from 624eae5 to 64b8fd5 Compare March 28, 2018 14:33
@danberindei
Copy link
Member Author

Fixed @tristantarrant

@wburns
Copy link
Member

wburns commented Mar 28, 2018

I am fine with the changes, but thinking about this more. If we are doing this for backwards compatibility shouldn't the default be NONE no matter what? @tristantarrant what do you think?

@tristantarrant
Copy link
Member

I think we should have better defaults win over blind backwards compatibility. As long as a user can configure the old behaviour, I'm fine with it.

@tristantarrant tristantarrant merged commit 6e232a0 into infinispan:master Mar 29, 2018
@danberindei danberindei deleted the ISPN-9013_partitionhandling_enabled branch March 29, 2018 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants