简体   繁体   English

如何在Fabric8中处理事务日志?

[英]How to deal with transactional logs in Fabric8?

Probably a quite newbie question: 可能是一个相当新手的问题:

If for example WildFly application server in running in 10 immutable pods, when one of the pods for any reason is killed and a new one is automatically spawned all transactional logs stored in that specific pod will be lost. 例如,如果WildFly应用程序服务器在10个不可变的Pod中运行,则由于任何原因导致其中一个Pod被杀死并自动产生一个新Pod时,存储在该特定Pod中的所有事务日志将丢失。 Is there a standard way to deal with this problem? 是否有解决此问题的标准方法?

Thanks! 谢谢!

Vas 瓦斯

The standard way of dealing with things like this is to use a Persistent Volume to mount any durable state you need in your application sever pod instance; 处理此类问题的标准方法是使用“ 持久卷”在应用程序服务器Pod实例中挂载所需的任何持久状态。 so that whenever the pod is restarted on another node your persistent state is still available 这样,只要在其他节点上重新启动Pod,您的持久状态仍然可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM