milvus-io / birdwatcher Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
No response
No response
No response
birdwatcher may panic when writing audit log
Birdwatcher shall not panic
Run write/delete operations
No response
No response
Add build options to exclude CGO part
cgo id dedicated for kafka cp repairing. If it's not needed, related code could be excluded to avoid cgo compilation complexity.
No response
Use "github.com/cockroachdb/errors" to replace other errors package
To unify error handling
No response
add command to display index information
It's important to known collection/ segment related index info
No response
As I typed "birdwatcher --version" and "birdwatcher version", they both start the interactive mode:
And no way to print the version, even in the interactive mode:
Only print the version with the two commands
No response
No response
No response
For each state, command flags are not reset after execution
Flag value shall be renewed after each command execution
No response
No response
No response
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.
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
Raise an error when the config is wrong.
No response
No response
No response
Add command for release-dropped-collection
Fix querycoord cannot start if collection is dropped during querycoord down time.
No response
Add dry-mode to switch/select milvus instance
If user cannot determine rootPath of milvus, birdwatcher could provided help to select some possible rootPath.
No response
support to check loaded collection
if a cluster maintains many collections, it's important to see which one is loaded.
No response
support v2.2 segment binlog meta format
in Milvus 2.2, segment binlogs meta stores in different path aside segment info. Birdwatcher shall be able to read them as well.
No response
Only first level command has auto complete feature
all level command shall support auto complete
No response
No response
No response
show segments
command prints start pos info for dml pos
show segments
shall print dml position info correctly
No response
No response
No response
Add audit log for any delete/put operation
For the case of mistake operation we shall have an final resolve for revert the change.
No response
Field list is empty since collection schema is separated into several kvs.
Show collection could print correct field schema
No response
No response
No response
supported dynamic change log level
in some use case, we can get debug log without restart system.
No response
Show collections output doesn't end with a new line (without pager)
No response
No response
No response
No response
Add command to verify oss files and etcd meta matches
To verify oss storage and meta integrity and detect error fast
No response
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
Just print no workspace config found
No response
No response
No response
This would be very helpful to verify cluster state and fix if it has some issue.
No response
When you execute a show segments
, you'll have a nice output for the segment count like the belowing:
It would be much better to have the count output for show collections
, show collection-loaded
It's hard to count by yourself.
No response
show segment may timeout if segment number is huge for Milvus2.2
Birdwatcher shall display info even segment number is huge
No response
No response
No response
Adapt Milvus 2.2 channel checkpoint
Since Milvus 2.2 uses channel checkpoint, birdwatcher shall analysis them when showing checkpoints for collections
No response
List segment will list extra info from statslog fields
show segment command shall only return segment items
No response
No response
No response
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.
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.
No response
No response
No response
Add unit tests for all commands
Bird watcher need unit test to keep constraints met
No response
Add a reusable workspace
feature to avoid repeatably reload backup file for analysis
Some backup file maybe large and would be slow to reload from time to time.
No response
Adapt segment index information for milvus 2.2 meta
No response
No response
Add the function of modifying the metadata of ectd
Lack of tools to modify data in etcd
No response
make it easy and possible to do performance analysis and tuning base on birdwatcher!!!
No response
No response
checkpoint might be not accurate since dropped segment is not excluded
checkpoint shall only consider healthy segments
No response
No response
No response
Add output pager for each command execution
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.
No response
cannot enter dry mode since pingEtcd check fails
Dry mode shall by-pass etcd ping check
connect to etcd with bad rootPath in dry mode
No response
No response
show segment according to segment state, eg Flushed, Sealed, Dropped
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
No response
No response
No response
No response
No response
force release cannot work with 2.2.x milvus
Force release could handle querycoord v2 meta as well
No response
No response
No response
Support one-line-command mode
Support one-line-command will make Birdwatcher easier to integrate with other devops toolchain
No response
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"
No response
No response
No response
No error reported when connect to an invalid etcd address.
Birdwatcher will only report error when try to execute actual command, e.g. show.
Fail fast when user provided an invalided ETCD address.
No response
No response
No response
When output is too large press "q" for pager may block forever
Pager shall not block birdwatcher
No response
No response
No response
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:
No response
No response
No response
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.
Bash session should display when typing.
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
Ubuntu 20.04.5 LTS
Ubuntu 22.04.5 LTS
No response
Add probe Milvus function
Health check may not be accurate for Milvus system
Birdwatcher can utilize internal api to probe certain functionality of system
No response
There is no convenient way to parse and analysis Milvus index files(binlog tool might help with segment binlog)
Birdwatcher provides commands to analysis index files
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.