CodePlayer
CodePlayer
### 问题描述 ```java @Getter @Setter public static class AccountVO { public long amount; public BigDecimal getAmount() { return BigDecimal.valueOf(amount).movePointLeft(2); } } @Test public void test() throws Exception { AccountVO vo...
**Describe the bug** ```sql INSERT INTO gs_merchant_msg ( msg_id, merchant_id, emp_id, add_time, read_time, state ) SELECT m.id, 2, 4, m.send_time, NOW( 3 ), 3 FROM gs_msg m INNER JOIN gs_merchant...
**Describe the bug** 我们有2个汇总统计表,表结构大致如下: ```sql CREATE TABLE `order_stat_hourly` ( `merchant_id` int unsigned NOT NULL, `period` timestamp NOT NULL COMMENT '每个周期的开始时间点,也就是每个小时的整点', `user_id` int unsigned NOT NULL, `pay_amount_sum` int unsigned NOT NULL...
**Describe the bug** 我们正在使用 OMS 进行数据迁移 (从 MySQL 到 OceanBase),但是 OceanBase 中有一个完全没有参与到数据迁移的表,似乎被 OceanBase 自动执行了一些内置的诊断SQL,让 CPU 从 40+% 直接飙升到满载,产生了少则几十秒,多则几千秒的慢查询,也导致 OCP 一直频繁触发 CPU 使用率超限 的告警。 这些语句明显不是我们人为执行的。 **Environment** - OS Version: CentOS 8.2...
之前是在 #2848 的评论中补充,不过该 ISSUE 已经被关闭,也无法重新开启,所以在此再次反馈,以免被忽略。 还有几个方法存在类似的 bug,此处不再赘述,可以直接参考 #2848 的补充评论。 > @wenshao 用新版本测试了下,writeBigDecimal 的问题已经解决了,不过又发现了一个类似的 bug。 ```java OutputStreamWriter out = new OutputStreamWriter(new ByteArrayOutputStream(), StandardCharsets.UTF_8); try (CSVWriter writer = CSVWriter.of(out)) { writer.writeValue("1".repeat(65534)); writer.writeComma();...
**Describe the bug**  我将系统中 具有业务关联的多个表放入同一个表组,而且这些也是核心业务表,负载比普通表要高不少。 如上图所示,我希望将表组 `z2` 下的数据表的主副本全部挪到 Zone 3(具体在哪个 Zone 不是关键,关键是希望表组 `z1`、`z2`、`z3` 能够分布在3个不同的 Zone )。  然而,哪怕这个时候 Zone 3 没有一个表组分布,哪怕 Zone 3 的 表分区数量也是最少的,但 `z2` 表组就是死活赖在 Zone 2,而不会被自动负载均衡到...
### 问题描述 如下代码所示,Dubbo 使用 Fastjson 2.0.57 版本时提示报错:not support none-Serializable。 使用 Fastjson 2.0.56 及之前版本则一切正常。 ### 环境信息 *请填写以下信息:* - OS信息: Windows 10 - JDK信息:OpenJDK 17.0.14 - 版本信息:Fastjson 2.0.57 ### 重现步骤 ```java @Getter...
It is well known that the HikariCP connection pool has two key parameters: `minimumIdle` and `maximumPoolSize`. By default, these values are equal (both default to `10`). This fixed-size connection pool...
### Self Checks - [x] I have read the [Contributing Guide](https://github.com/oceanbase/oceanbase/blob/develop/CONTRIBUTING.md). - [x] This is only for bug report, if you would like to ask a question, please head to...