摘要: 使用 kubectl logs -nxxx xxxxxxxx --previous 即可查看上次報錯的日志 阅读全文
posted @ 2025-03-04 09:54 清明雨下 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 背景 :快速的update 后select 使用 LambadQueryWrapper 一會16條 一會 10條 判斷 很可能是這種查詢使用了二級緩存導致 直接在dao中使用 @Select("select * from XXX") 跳過二級緩存 阅读全文
posted @ 2025-03-04 09:51 清明雨下 阅读(2) 评论(1) 推荐(0) 编辑
摘要: @Configuration @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true) public class CorsSecurityConfig extends We 阅读全文
posted @ 2024-10-31 14:00 清明雨下 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 情况一、查看deploy 查看资源 kubectl edit deploy xx -nxxxx 修改cpu和mem 查看 使用cpu最高的pod kubectl top pods -nxxxx 查看集群中所有节点的 CPU 和内存使用情况: kubectl top nodes 查看指定节点的 CPU 阅读全文
posted @ 2024-05-21 17:24 清明雨下 阅读(16) 评论(0) 推荐(0) 编辑
摘要: NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy v.1.1.9.1 阅读全文
posted @ 2024-04-30 16:23 清明雨下 阅读(25) 评论(0) 推荐(0) 编辑
摘要: ApplicationRunner和commandlineRunner run方法 要try,否则抛出异常可能导致ApplicationContext close 阅读全文
posted @ 2024-04-23 16:11 清明雨下 阅读(23) 评论(0) 推荐(0) 编辑
摘要: https://mvnrepository.com/artifact/ 阅读全文
posted @ 2024-03-01 16:30 清明雨下 阅读(29) 评论(0) 推荐(0) 编辑
摘要: public boolean writeMetrics(String metricFamily, String help, List<VictoriaMetric> victoriaMetricList) { try { if(metricFamily == null || help == null 阅读全文
posted @ 2024-03-01 10:41 清明雨下 阅读(38) 评论(0) 推荐(0) 编辑
摘要: // Generated by the protocol buffer compiler. DO NOT EDIT!// source: types.proto public final class Types { private Types() {} public static void regi 阅读全文
posted @ 2024-03-01 10:38 清明雨下 阅读(17) 评论(0) 推荐(0) 编辑
摘要: // Generated by the protocol buffer compiler. DO NOT EDIT!// source: remote.proto public final class Remote { private Remote() {} public static void r 阅读全文
posted @ 2024-03-01 10:35 清明雨下 阅读(13) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示