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

GEODE-8570: deprecate cluster-configuration-dir property #5684

Merged
merged 4 commits into from Oct 30, 2020

Conversation

jinmeiliao
Copy link
Member

No description provided.

@demery-pivotal
Copy link
Contributor

In addition to marking the property as deprecated, we should fix the documentation. The documentation gives the mistaken impression that the property affects the product. But the product does not use this property in any way, and so the documentation is incorrect.

@kohlmu-pivotal kohlmu-pivotal added this to Awaiting Triage in Quality Review Oct 28, 2020
@@ -117,7 +117,7 @@ Valid values are in the range 0...2147483647</td>
</tr>
<tr>
<td>cluster-configuration-dir</td>
<td>This property specifies the directory in which the cluster configuration related disk-store and artifacts are stored. This property is only applicable to dedicated locators that have &quot;enable-cluster-configuration&quot; set to true.</td>
<td><b>Deprecated.</b> Use import/export clutser-configuration command instead. This property specifies the directory in which the cluster configuration related disk-store and artifacts are stored. This property is only applicable to dedicated locators that have &quot;enable-cluster-configuration&quot; set to true.</td>
Copy link
Contributor

Choose a reason for hiding this comment

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

I only looked at the docs portion of this PR.

  1. Please change "clutser" to "cluster"
  2. Please add "gfsh" in to this sentence, since we're not substituting a different property, and I think that you mean to use a gfsh command instead. Something like "Use the gfsh import or export cluster-configuration command instead."

Copy link
Contributor

Choose a reason for hiding this comment

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

I also recommend mentioning that it currently does nothing. We've done this in the past for APIs that do nothing -- deprecate and document that it does nothing and what the user should do instead.

@jinmeiliao
Copy link
Member Author

In addition to marking the property as deprecated, we should fix the documentation. The documentation gives the mistaken impression that the property affects the product. But the product does not use this property in any way, and so the documentation is incorrect.

I am not sure about this. Should we treat it as a bug and try to fix it in the future or should we document it if it would never work

Copy link
Contributor

@karensmolermiller karensmolermiller left a comment

Choose a reason for hiding this comment

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

The documentation changes look good to me. Thank you for the revision.

@jinmeiliao jinmeiliao merged commit 4024509 into apache:develop Oct 30, 2020
@jinmeiliao jinmeiliao deleted the dir branch October 30, 2020 17:52
@kohlmu-pivotal kohlmu-pivotal moved this from Awaiting Triage to Verified - Approved in Quality Review Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Quality Review
Verified - Approved
4 participants