integrii / go-redis-migrator Goto Github PK
View Code? Open in Web Editor NEWA cluster aware Redis key migrator. Moves keys from one cluster or host to another cluster or host.
License: The Unlicense
A cluster aware Redis key migrator. Moves keys from one cluster or host to another cluster or host.
License: The Unlicense
Hi there!
I recently used this project to do some migrations from ElastiCache. While doing this I came a cross 2 problems.
I made those changes in this fork: master...jcalonso:patch-1
I would be happy to open a proper pull request and merge this back if you consider this is something of use in the project.
Let me know :)
Hi Eric,
I have a use case where there are millions of existing keys that don't have a TTL and is causing the Redis storage to fill up too quickly. I am interested in adding a new command to this repo to override all keys or keys with a specific prefix with a desired TTL.
Would you be open to allowing that feature to this repo?
Thanks
Hi Eric,
I noticed that there's a tag named HEAD which causes an issue when pulling code.
So I'm not able to pull code unless I wipe out the entire repo each time. Also, all forks will fail.
Reference:
https://stackoverflow.com/questions/1692892/warning-refname-head-is-ambiguous
The 3rd answer fixed my problem which is to delete the tag.
Can you please delete the tag named HEAD?
git tag -d HEAD
Hi,
I've cloned go-redis-migrator repo into GOPATH/src/gitbub.com/go-redis-migrator
and I get this when trying to build this tool.
go/src/github.com/go-redis-migrator ()$ go get -v
github.com/go-redis-migrator
# github.com/go-redis-migrator
./migrate.go:278: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationCluster.commandable.Restore
./migrate.go:280: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationHost.commandable.Restore
go/src/github.com/go-redis-migrator ()$ go build
# github.com/go-redis-migrator
./migrate.go:278: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationCluster.commandable.Restore
./migrate.go:280: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationHost.commandable.Restore
Am I missing something here?
thanks :)
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.