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-10460 Remove NestedAttributeSerializer #7183
ISPN-10460 Remove NestedAttributeSerializer #7183
Conversation
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.
IMO in most cases it would be better to change the serialization format so those elements are attributes.
counter/src/main/java/org/infinispan/counter/configuration/LowerBoundConfiguration.java
Outdated
Show resolved
Hide resolved
...t/src/main/java/org/infinispan/persistence/rest/configuration/RemoteServerConfiguration.java
Show resolved
Hide resolved
...in/java/org/infinispan/persistence/rocksdb/configuration/RocksDBExpirationConfiguration.java
Show resolved
Hide resolved
...ft-index/src/main/java/org/infinispan/persistence/sifs/configuration/IndexConfiguration.java
Show resolved
Hide resolved
@danberindei I propose to handle schema and config changes in other JIRAs. This PR was to align the XSD, the builders, and the inner Attributes inside the various configs objects, all without changing API or schema. WDYT? |
I wish I didn't dive so much in the RocksDB/SIFS locations specifics, because it distracts from the main point, and the location stuff should indeed be handled in separate JIRAs/PRs. But think of it this way: the way you did it requires changing the programmatic configuration, the way I want it requires changing the XML configuration. I don't think any one is harder to do than the other, it's just that you have already written the code to change the programmatic configuration. And just like you didn't deprecate the old methods in the configuration builders, you could not deprecate the old elements in the XML configuration and keep supporting them forever -- we just need the attributes to be the canonical version. |
@danberindei, I can sort out the counters (deprecating from the XSD), and create JIRAs for the other configs, would it be enough to have this PR in? |
16d69fe
to
73bc04b
Compare
@danberindei Are you happy with the latest changes? We should get this in for CR2. @gustavonalle Needs rebasing on the docs. |
73bc04b
to
1917b8a
Compare
rebased |
Sorry it took so long to reply @gustavonalle, looks great. I'll integrate once CI is done. |
1917b8a
to
fab3ff3
Compare
@danberindei There is one test failing which is |
It doesn't look like it's the CI fault, or better saying, it looks like the only fault is being extremely slow and exposing some race conditions 😄
|
@danberindei This error happens on |
Integrated, thanks Gustavo! |
https://issues.jboss.org/browse/ISPN-10460