Code Monkey home page Code Monkey logo

Comments (9)

kib avatar kib commented on May 12, 2024

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.

kib avatar kib commented on May 12, 2024

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.

etix avatar etix commented on May 12, 2024

Nice catch! Thanks a lot :)

from mirrorbits.

kib avatar kib commented on May 12, 2024

just 'lucky' we had two similar names I guess. Thanks for the quick fix 👍

from mirrorbits.

kib avatar kib commented on May 12, 2024

Any chance you could make it possible to change the descriptive name of the mirror ?

from mirrorbits.

etix avatar etix commented on May 12, 2024

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.

kib avatar kib commented on May 12, 2024

@etix I see, well than we just must be careful not to make mistakes 👍

from mirrorbits.

etix avatar etix commented on May 12, 2024

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.

kib avatar kib commented on May 12, 2024

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)

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.