Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

feat: add list procedure api #214

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

ZuLiangWang
Copy link
Contributor

Which issue does this PR close?

Closes #

Rationale for this change

Add ListRunningProcedure interface to display the currently running procedures.

What changes are included in this PR?

  • Add ListRunningProcedure in API.go

Are there any user-facing changes?

None.

How does this change test

No need to test.

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #214 (8f41673) into main (7f1354e) will increase coverage by 20.17%.
The diff coverage is 56.57%.

@@             Coverage Diff             @@
##             main     #214       +/-   ##
===========================================
+ Coverage   39.66%   59.84%   +20.17%     
===========================================
  Files          34       43        +9     
  Lines        4213     5147      +934     
===========================================
+ Hits         1671     3080     +1409     
+ Misses       2317     1675      -642     
- Partials      225      392      +167     
Impacted Files Coverage Δ
pkg/coderr/code.go 0.00% <ø> (ø)
server/cluster/metadata/types.go 0.00% <0.00%> (ø)
server/coordinator/procedure/util.go 0.00% <ø> (ø)
server/storage/meta.go 0.00% <ø> (ø)
server/storage/storage_impl.go 57.21% <0.00%> (-5.10%) ⬇️
server/member/watch_leader.go 40.62% <20.00%> (-2.71%) ⬇️
server/cluster/manager.go 38.96% <23.52%> (ø)
server/coordinator/factory.go 76.68% <27.27%> (+72.22%) ⬆️
.../operation/transferleader/batch_transfer_leader.go 33.80% <33.80%> (ø)
...oordinator/scheduler/rebalanced_shard_scheduler.go 43.47% <43.47%> (ø)
... and 19 more

... and 2 files with indirect coverage changes

Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@ZuLiangWang ZuLiangWang merged commit dc084d6 into apache:main Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants