Comments (9)
Edit on the last issue, this seems to be created with a previous version of mirrorbits, there was a MIRROR_z.os6.org key left in the redis database with no other keys / keydata with it. I've manually removed the offending key and was able to reuse the name.
from mirrorbits.
The naming issue also affects removing mirrors:
$ mirrorbits remove test.example.com
secondtest.example.com
test.example.com
$ mirrorbits remove secondtest.example.com
Mirror removed successfully
from mirrorbits.
Nice catch! Thanks a lot :)
from mirrorbits.
just 'lucky' we had two similar names I guess. Thanks for the quick fix 👍
from mirrorbits.
Any chance you could make it possible to change the descriptive name of the mirror ?
from mirrorbits.
Renaming a mirror is quite difficult currently since the mirror identifier is part of thousands of keys in the database. It would require to disable the mirror, replace all matching keys and take it back online. Another option would be to use an intermediate table but that would require a breaking database format change. Your best option here is to remove and add the mirror back but with a different name.
from mirrorbits.
@etix I see, well than we just must be careful not to make mistakes 👍
from mirrorbits.
It's definitely on my TODO-breaking list, I just want to do all breaking changes at the same time, most certainly just before 1.0-stable.
from mirrorbits.
patch for editing names confirmed working, just tested adding a mirror with subsetname, was able to edit and remove it no problem.
from mirrorbits.
Related Issues (20)
- Fails to select a mirror in some cases HOT 3
- Accessing a file that isn't mirrored results in wrong size/mtime being saved HOT 4
- Add support for If-Modified-Since HOT 1
- non-interactive way to bulk edit mirrors HOT 1
- using mirrorbits edit diff incorrect missing values HOT 4
- list HOT 2
- Rotation of logs (logrotate) and releasing the rotated inode log file HOT 3
- New downloads "Service Unavailable" HOT 1
- Scan through HTTP/HTTPS possible? HOT 2
- Cannot edit a mirror when its ID is a substring of another HOT 2
- Consider bundling static files HOT 1
- Is this project still maintained? HOT 15
- OSMC still uses MirrorBits HOT 1
- Feature request: support S3 protocol for scanning mirrors
- Mirrorbits stats pile up forever, there should be a way to delete old stats HOT 1
- Unbounded MULTI transactions cause big latency spikes in Redis
- Feature Request: also build for arm64 architecture HOT 3
- Health-Check might check for non-existing files, marking mirror down by mistake. Could be improved HOT 3
- Line-wrapping in YAML output makes life difficult HOT 2
- Support dual HTTP/HTTPS for a mirror
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirrorbits.