[
https://issues.apache.org/jira/browse/CASSANDRA-21444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated CASSANDRA-21444:
----------------------------------------
Fix Version/s: 6.0-alpha2
7.0
(was: 6.x)
(was: 7.x)
Source Control Link:
https://github.com/apache/cassandra/commit/7899b594b83f6825672e79df0a8bcd7f1a1d0787
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
[~smiklosovic] [~dnk] meged to 6.x and 7.x branches.
Thank you for review and comments.
> Speed up nodetool documentation generation by producing all command help in a
> single jvm
> ----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21444
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21444
> Project: Apache Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 6.0-alpha2, 7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Generating the nodetool AsciiDoc documentation is slow as the
> gen-nodetool-docs script uses the nodetool command-line wrapper to capture
> help text for eac command. Each invocation starts a brand-new jvm, so
> building the documentation incurs the jvm startup cost over a hundred times
> (100+ node tool commands).
> This makes the documentation build unnecessarily slow and ties it to the
> shell wrapper and its environment setup. The solution: Generate the raw
> {{nodetool help}} text for every command in a single jvm.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]