-
Notifications
You must be signed in to change notification settings - Fork 98
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
TASK-6981 - Should not use same Solr timeout for reading and for indexing #2512
base: release-3.x.x
Are you sure you want to change the base?
Conversation
…timeout for write operations, #TASK-6981
@@ -157,14 +160,12 @@ public SearchConfiguration setTimeout(int timeout) { | |||
return this; | |||
} | |||
|
|||
@Deprecated |
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.
Do not remove these methods.
Leave the methods deprecated, and just call to the static method
Configuration.reportUnusedField()
e.g.
opencga/opencga-core/src/main/java/org/opencb/opencga/core/config/Configuration.java
Lines 304 to 313 in e7f1966
@Deprecated | |
public Admin getAdmin() { | |
return null; | |
} | |
@Deprecated | |
public Configuration setAdmin(Admin admin) { | |
reportUnusedField("configuration.yml#admin", admin); | |
return 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.
This will avoid failures in "old" configuration files that might be using the "rows" or "host" field.
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.
The ticket should have, in the "Communications" a message saying that this fields are removed.
… deleled methods to mark them as deprecated for backward-compatibility, #TASK-6981
TASK-6981