GithubHelp home page GithubHelp logo

birdwatcher's People

Contributors

aoiasd avatar bigsheeper avatar congqixia avatar czs007 avatar filip-halt avatar jaime0815 avatar jiaoew1991 avatar letian-jiang avatar longjiquan avatar mrpresent-han avatar samhuang-z avatar simfg avatar weiliu1031 avatar wg1026688210 avatar xiaocai2333 avatar xiaofan-luan avatar xige-16 avatar xuanyang-cn avatar yiwangdr avatar zhuwenxing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

birdwatcher's Issues

[Feature]: Add an embedded web server

Is your feature request related to a problem? Please describe.

Add a "web --port ${port}" command to listen on the specified port after starting Milvus. Users can view the status of Milvus through a web page or API.

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

[Bug]: birdwatcher may panic when writing audit log

Current Behavior

birdwatcher may panic when writing audit log

Expected Behavior

Birdwatcher shall not panic

Steps To Reproduce

Run write/delete operations

Environment

No response

Anything else?

No response

[Enhancement]: Add build options to exclude CGO part

What would you like to be added?

Add build options to exclude CGO part

Why is this needed?

cgo id dedicated for kafka cp repairing. If it's not needed, related code could be excluded to avoid cgo compilation complexity.

Anything else?

No response

[Bug]: command flags are not reset after execution

Current Behavior

For each state, command flags are not reset after execution

Expected Behavior

Flag value shall be renewed after each command execution

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Bug]: No error raised when the rootPath is wrong

Current Behavior

My Milvus is deployed by helm, so the default rootPath is by-dev.

But I refer to the following command, set the rootPath as instance name.
image

However, it does not raise any errors. It can not show any info when I type show collections(already create many collections).

This makes me confused: It does not work, but there is no error happened.the

Expected Behavior

Raise an error when the config is wrong.

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Enhancement]: support to check loaded collection

What would you like to be added?

support to check loaded collection

Why is this needed?

if a cluster maintains many collections, it's important to see which one is loaded.

Anything else?

No response

[Enhancement]: support v2.2 segment binlog meta format

What would you like to be added?

support v2.2 segment binlog meta format

Why is this needed?

in Milvus 2.2, segment binlogs meta stores in different path aside segment info. Birdwatcher shall be able to read them as well.

Anything else?

No response

[Bug]: Auto complete is not fully functional

Current Behavior

Only first level command has auto complete feature

Expected Behavior

all level command shall support auto complete

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Feature]: Command history

Is your feature request related to a problem? Please describe.

I can't re-run command just by traveling through the history

Describe the solution you'd like.

image
hint based on history

and

image

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

[Bug]: Collection field list empty in milvus version >2.1.x

Current Behavior

Field list is empty since collection schema is separated into several kvs.

Expected Behavior

Show collection could print correct field schema

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Bug]: `load-backup` command prints false alarm error message even when load succeeds

Current Behavior

load-backup command prints false alarm error message even when load succeeds

/tmp/birdwatcher2038238499/.bw_project not exist, writing a new one/tmp/birdwatcher2038238499/.bw_project cannot setup as workspace meta, err: stat /tmp/birdwatcher2038238499/.bw_project: no such file or directory

Expected Behavior

Just print no workspace config found

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Feature]: Bird watcher support to check consistency and to force release/load

What would you like to be added?

  1. Add a functionality to check if segment loaded on querynode, leaderview and querycoord memory state is consistent.
  2. if not consistent and for some reason stucked, need to be abled to force release/load on a querynode.

Why is this needed?

This would be very helpful to verify cluster state and fix if it has some issue.

Anything else?

No response

[Enhancement]: Add the number of results output for show xxx commands

What would you like to be added?

When you execute a show segments, you'll have a nice output for the segment count like the belowing:
image

It would be much better to have the count output for show collections , show collection-loaded

Why is this needed?

It's hard to count by yourself.

Anything else?

No response

[Enhancement]: Adapt Milvus 2.2 channel checkpoint

What would you like to be added?

Adapt Milvus 2.2 channel checkpoint

Why is this needed?

Since Milvus 2.2 uses channel checkpoint, birdwatcher shall analysis them when showing checkpoints for collections

Anything else?

No response

[enhancement] show states in Milvus node

we can use milvus Go SDK to get internal states of milvus, such as show loaded segments of QueryNode, show channel state of DataNode, index building progress etc.

[Feature]:Want a function to query colleciont id by collection name

Is your feature request related to a problem? Please describe.

When there are a lot of collections, I want to see the details of a collection by a collection name I know. Now I need to "show collections" and look for them one by one.

2023-03-24.16.58.24.mov

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

[Enhancement]: Need unit tests

What would you like to be added?

Add unit tests for all commands

Why is this needed?

Bird watcher need unit test to keep constraints met

Anything else?

No response

[Enhancement]: workspace support for backup file

What would you like to be added?

Add a reusable workspace feature to avoid repeatably reload backup file for analysis

Why is this needed?

Some backup file maybe large and would be slow to reload from time to time.

Anything else?

No response

[Enhancement]: Adapt index info v2.2

What would you like to be added?

Adapt segment index information for milvus 2.2 meta

Why is this needed?

No response

Anything else?

No response

[Enhancement]: Add output pager for each command execution

What would you like to be added?

Add output pager for each command execution

Why is this needed?

The output for one command(say show segment) may be too long to be printed in one screen and hard to inspect
Adding a pager will let user has control when browsing the whole output.

Anything else?

No response

[Bug]: cannot enter dry mode since pingEtcd check fails

Current Behavior

cannot enter dry mode since pingEtcd check fails

Expected Behavior

Dry mode shall by-pass etcd ping check

Steps To Reproduce

connect to etcd with bad rootPath in dry mode

Environment

No response

Anything else?

No response

[Enhancement]: Support show segment according to segment state

What would you like to be added?

show segment according to segment state, eg Flushed, Sealed, Dropped

Why is this needed?

In the case where a large number of segments exist in the cluster, show segment order may return too many lines at a time including all possible status of segments like Sealed, Flushed, Dropped. If the user just want to get segments in specific status, this function would be useful

Anything else?

No response

[Bug]: The go install command doesn't work

Current Behavior

  • The command doesn't specify the version
  • The go.mod contains a replace directive, which is not supported by go install

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Bug]: force release cannot work with 2.2.x milvus

Current Behavior

force release cannot work with 2.2.x milvus

Expected Behavior

Force release could handle querycoord v2 meta as well

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Enhancement]: Support one-line-command mode

What would you like to be added?

Support one-line-command mode

Why is this needed?

Support one-line-command will make Birdwatcher easier to integrate with other devops toolchain

Anything else?

No response

[Feature]: completion hints should work as a ring menu

Is your feature request related to a problem? Please describe.

When I'm at the first/last item in the completion hints menu, and try to navigate up/down, the focus just lost, and and no easy way to do "navigate to the last item"

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

[Bug]: No error reported when connect to an invalid etcd addr

Current Behavior

No error reported when connect to an invalid etcd address.
Birdwatcher will only report error when try to execute actual command, e.g. show.

Expected Behavior

Fail fast when user provided an invalided ETCD address.

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

[Feature]: Need a command for analyzing object storage directories

Is your feature request related to a problem? Please describe.

Many users have encountered the problem of excessive storage consumption by object storages such as MinIO/S3. Adding a command to analyze the usage of object storage, including the following functions:

  1. View the size of each collection classified by collection.
  2. Classify according to segment and mark which files are dropped segments that can be recycled.
  3. Able to analyze the sizes of insert_log, delta_log, and stats_log.

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

[Bug]: Bash session hijacked after exit from birdwatcher

Current Behavior

I have go version go1.19.3 installed.
I have run the below commands:
git clone https://github.com/milvus-io/birdwatcher
cd birdwatcher
go build -o birdwatcher main.go
mv -v birdwatcher /usr/local/bin

Above step produces a excutable file with a name of birdwatcher
I run birdwatcher in bash session, the session enter command mode while displaying "Offline >", then I type "exit" to go back to bash session, now when I type in bash session, nothing will display, but if I accidently type something recognized as system command, it will run and display the result.

Expected Behavior

Bash session should display when typing.

Steps To Reproduce

git clone https://github.com/milvus-io/birdwatcher
cd birdwatcher
go build -o birdwatcher main.go
mv -v birdwatcher /usr/local/bin
./birdwatcher
Offline > exit

Environment

Ubuntu 20.04.5 LTS
Ubuntu 22.04.5 LTS

Anything else?

No response

[Enhancement]: Add probe Milvus function

What would you like to be added?

Add probe Milvus function

Why is this needed?

Health check may not be accurate for Milvus system
Birdwatcher can utilize internal api to probe certain functionality of system

Anything else?

No response

[Feature]: Birdwatcher shall be able to analysis segment/index file

Is your feature request related to a problem? Please describe.

There is no convenient way to parse and analysis Milvus index files(binlog tool might help with segment binlog)

Describe the solution you'd like.

Birdwatcher provides commands to analysis index files

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.