Code Monkey home page Code Monkey logo

Comments (4)

WangJi92 avatar WangJi92 commented on September 13, 2024

动态替换clazz 不是修复线上问题的神器,有风险!!! 最好不这么使用、

  • 可以通过本地编译之后将clazz 上传到 服务器然后进行替换 手动的方式。
  • 也可以通过arthas 插件自动化 ,配合对象存储 进行脚本化替换,可以参考插件相关文档

image

from arthas.

WangJi92 avatar WangJi92 commented on September 13, 2024

image

from arthas.

zhaozhangxiao avatar zhaozhangxiao commented on September 13, 2024

image

这个都试了不行。 官方这个备注看过。 总感觉这个mc功能问题太多。 场景: 客户线上环境 要实现功能联调,一遍遍替换class文件在线上。太麻烦了。所以看有什么更好的办法,实现动态修改。谢谢

from arthas.

WangJi92 avatar WangJi92 commented on September 13, 2024

重新部署是最好的操作,不要太依赖这个!

from arthas.

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.