Open knz opened 3 years ago
Which metadata would we like to preserve/collect for all debug commands:
Pre-analysis on how to move the GRPC client conn code to a sub-package.
Where is it used?
cockroach gen haproxy
init
, quit
, node decommission
, node recommission
Pre-analysis on how to move the SQL client conn code to a sub-package.
Where is it used?
auth-session
sub-commandsimport
, nodelocal
, userfile
node ls
, node status
sql
statement-diag
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!
Currently the debug code is strewn across the entire
cli
package and dilutes its ownership. This incurs two separate problems:cli
package hard to explore/understand for newcomers.To address this, we propose to work as follows:
clidebug
of its respective team home, as described in the table below.cli
package into shared sub-packages too. For example, the RPC client logic would belong to such a sub-package.Tentative homes:
Some observations:
Jira issue: CRDB-8989