Skip to content

Conversation

jtarraga
Copy link
Member

@jtarraga jtarraga requested a review from j-coll September 27, 2024 11:02
@halender
Copy link
Contributor

return this;
}

@Deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Do not remove these methods.
Leave the methods deprecated, and just call to the static method
Configuration.reportUnusedField()

e.g.

@Deprecated
public Admin getAdmin() {
return null;
}
@Deprecated
public Configuration setAdmin(Admin admin) {
reportUnusedField("configuration.yml#admin", admin);
return this;
}

Copy link
Member

Choose a reason for hiding this comment

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

This will avoid failures in "old" configuration files that might be using the "rows" or "host" field.

Copy link
Member

Choose a reason for hiding this comment

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

The ticket should have, in the "Communications" a message saying that this fields are removed.

@j-coll j-coll changed the title [TASK-6981] Should not use same Solr timeout for reading and for indexing TASK-6981- Should not use same Solr timeout for reading and for indexing Sep 30, 2024
… deleled methods to mark them as deprecated for backward-compatibility, #TASK-6981
@jtarraga jtarraga requested a review from j-coll October 2, 2024 07:41
@j-coll j-coll changed the title TASK-6981- Should not use same Solr timeout for reading and for indexing TASK-6981 - Should not use same Solr timeout for reading and for indexing Oct 2, 2024
j-coll
j-coll previously approved these changes Oct 4, 2024
j-coll
j-coll previously approved these changes Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants