#SpringCloud
共 8 篇文章
解决 Spring Cloud OpenFeign 重试机制导致雪崩式重试死循环
分析 OpenFeign 遇到 500 频繁放大流量重试诱因,详解 Retryer 策略配置与幂等性防护。
解决 Consul 报错 Service deregistered 健康检查失败被注销修复
排查微服务注册到 Consul 频繁出现 Service deregistered after critical timeout,配置 DeregisterCriticalServiceAfter 与探针容错。
Apollo 配置中心元数据长轮询断开导致客户端降级为本地缓存排障
解决企业微服务接入携程 Apollo 配置中心时,因网关空闲超时断开 HTTP 长轮询连接,导致配置动态更新失效且静默回退本地缓存的排错。
Nacos 客户端本地快照文件损坏导致微服务启动失败排障
解决微服务应用在离线或异常崩溃重启后,因本地磁盘上持久化的 Nacos Snapshot 快照文件损坏引发解析异常、应用启动终止的排查方案。
解决 Alibaba Sentinel 报错 Blocked by Sentinel 限流降级修复
排查微服务接口返回 HTTP 429 且提示 Blocked by Sentinel (flow limiting),在控制台配置自适应流控与自定义 BlockExceptionHandler 降级回调。
解决 Apache Seata 报错 Could not found transaction xid 分布式事务修复
排查分布式事务框架 Seata 提交抛出 TransactionException: Could not found transaction xid = ...,调优 tc 全局事务超时时间。
解决 Seata 报错 BranchRollbackFailed transaction timeout 分支回滚超时修复
排查 Seata AT 模式在分布式长事务回滚时抛出 BranchRollbackFailed: Branch transaction rollback failed timeout,分析 全局锁占用、undo_log 解析与 RM 资源管理器连接超时。
解决 Spring Cloud Feign 报错 405 Method Not Allowed 传参注解修复
排查 Spring Cloud OpenFeign 客户端调用微服务接口返回 HTTP 405 Method Not Allowed,分析 @RequestParam 与 @SpringQueryMap 导致 GET 降级 POST 问题。


