You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/08/10 16:04:11 UTC
[GitHub] [shardingsphere] RaigorJiang opened a new pull request, #20067: Add worker_id to the result set of `SHOW INSTANCE LIST` & `SHOW INSTANCE INFO`.
RaigorJiang opened a new pull request, #20067:
URL: https://github.com/apache/shardingsphere/pull/20067
## Before
```sql
mysql> show instance info;
+--------------------------------------+---------------+------+--------+-----------+--------+
| instance_id | host | port | status | mode_type | labels |
+--------------------------------------+---------------+------+--------+-----------+--------+
| 929d25b1-3b96-477a-8346-1c758ce5b414 | 192.168.5.161 | 3307 | OK | Cluster | |
+--------------------------------------+---------------+------+--------+-----------+--------+
1 row in set (0.08 sec)
mysql> show instance list;
+--------------------------------------+---------------+------+--------+-----------+--------+
| instance_id | host | port | status | mode_type | labels |
+--------------------------------------+---------------+------+--------+-----------+--------+
| 929d25b1-3b96-477a-8346-1c758ce5b414 | 192.168.5.161 | 3307 | OK | Cluster | |
+--------------------------------------+---------------+------+--------+-----------+--------+
1 row in set (0.00 sec)
```
## After
```sql
mysql> show instance list;
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| instance_id | host | port | status | mode_type | worker_id | labels |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| c5ec40c6-ec24-43df-bcce-3a4073a841ab | 192.168.5.161 | 3307 | OK | Cluster | 0 | |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
1 row in set (0.00 sec)
mysql> show instance info;
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| instance_id | host | port | status | mode_type | worker_id | labels |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| c5ec40c6-ec24-43df-bcce-3a4073a841ab | 192.168.5.161 | 3307 | OK | Cluster | 0 | |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
1 row in set (0.00 sec)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zjcnb merged pull request #20067: Add worker_id to the result set of `SHOW INSTANCE LIST` & `SHOW INSTANCE INFO`.
Posted by GitBox <gi...@apache.org>.
zjcnb merged PR #20067:
URL: https://github.com/apache/shardingsphere/pull/20067
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] codecov-commenter commented on pull request #20067: Add worker_id to the result set of `SHOW INSTANCE LIST` & `SHOW INSTANCE INFO`.
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on PR #20067:
URL: https://github.com/apache/shardingsphere/pull/20067#issuecomment-1210982011
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/20067?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#20067](https://codecov.io/gh/apache/shardingsphere/pull/20067?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (efa208b) into [master](https://codecov.io/gh/apache/shardingsphere/commit/c07c4ca9fdd756435a3317f911184469014d8c31?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c07c4ca) will **increase** coverage by `0.01%`.
> The diff coverage is `100.00%`.
```diff
@@ Coverage Diff @@
## master #20067 +/- ##
============================================
+ Coverage 60.61% 60.62% +0.01%
- Complexity 2414 2415 +1
============================================
Files 3852 3851 -1
Lines 54716 54719 +3
Branches 7668 7672 +4
============================================
+ Hits 33166 33176 +10
+ Misses 18696 18685 -11
- Partials 2854 2858 +4
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/20067?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...distsql/ral/queryable/ShowInstanceInfoHandler.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9oYW5kbGVyL2Rpc3RzcWwvcmFsL3F1ZXJ5YWJsZS9TaG93SW5zdGFuY2VJbmZvSGFuZGxlci5qYXZh) | `87.50% <100.00%> (ø)` | |
| [...distsql/ral/queryable/ShowInstanceListHandler.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9oYW5kbGVyL2Rpc3RzcWwvcmFsL3F1ZXJ5YWJsZS9TaG93SW5zdGFuY2VMaXN0SGFuZGxlci5qYXZh) | `76.92% <100.00%> (+76.92%)` | :arrow_up: |
| [...ackend/communication/ReactiveProxySQLExecutor.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9jb21tdW5pY2F0aW9uL1JlYWN0aXZlUHJveHlTUUxFeGVjdXRvci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...hardingsphere/data/pipeline/api/job/JobStatus.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUta2VybmVsL3NoYXJkaW5nc3BoZXJlLWRhdGEtcGlwZWxpbmUvc2hhcmRpbmdzcGhlcmUtZGF0YS1waXBlbGluZS1hcGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2RhdGEvcGlwZWxpbmUvYXBpL2pvYi9Kb2JTdGF0dXMuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...e/scenario/rulealtered/RuleAlteredJobPreparer.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUta2VybmVsL3NoYXJkaW5nc3BoZXJlLWRhdGEtcGlwZWxpbmUvc2hhcmRpbmdzcGhlcmUtZGF0YS1waXBlbGluZS1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9kYXRhL3BpcGVsaW5lL3NjZW5hcmlvL3J1bGVhbHRlcmVkL1J1bGVBbHRlcmVkSm9iUHJlcGFyZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...d/exception/TableModifyInTransactionException.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9leGNlcHRpb24vVGFibGVNb2RpZnlJblRyYW5zYWN0aW9uRXhjZXB0aW9uLmphdmE=) | | |
| [...backend/exception/ResourceNotExistedException.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9leGNlcHRpb24vUmVzb3VyY2VOb3RFeGlzdGVkRXhjZXB0aW9uLmphdmE=) | | |
| [...proxy/backend/exception/CircuitBreakException.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9leGNlcHRpb24vQ2lyY3VpdEJyZWFrRXhjZXB0aW9uLmphdmE=) | | |
| [...oxy/backend/exception/RuleNotExistedException.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC9leGNlcHRpb24vUnVsZU5vdEV4aXN0ZWRFeGNlcHRpb24uamF2YQ==) | | |
| [...e/infra/exception/DatabaseNotExistedException.java](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtaW5mcmEvc2hhcmRpbmdzcGhlcmUtaW5mcmEtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9pbmZyYS9leGNlcHRpb24vRGF0YWJhc2VOb3RFeGlzdGVkRXhjZXB0aW9uLmphdmE=) | | |
| ... and [7 more](https://codecov.io/gh/apache/shardingsphere/pull/20067/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org