Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: bug fix info for v4.2.4 #2134

Merged
merged 20 commits into from
Apr 2, 2024
Merged
68 changes: 67 additions & 1 deletion CHANGELOG-zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OceanBase Developer Center (ODC) CHANGELOG

## 4.2.4 (2024-04-01
## 4.2.4 (2024-04-02

### 功能变化

Expand Down Expand Up @@ -105,6 +105,72 @@ SQL 开发

### 缺陷修复

连接会话

- 部分场景会话在过期后未能删除,潜在资源泄漏风险 (#2125)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- 在高负载下 SingleConnectionDataSource.getConnection() 可能会出现并发问题 (#1914)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- 在数据源配置修改用户名大小写之后,连接 OceanBase Oracle 可能会出错 (#1797)
- 打开 SQL 控制台时偶先 404 错误 (#1809)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

SQL 执行

- OceanBase v4.2 提交/回滚按钮状态与实际事务状态不同步 (#2097)
- 带有单行注释的 SQL 语句执行失败 (#2085)
- 最后一个 SQL 命令若不以分隔符结束将导致偏移量计算错误 (#1970)
- 匿名块执行与 Oracle 11g 不兼容 (#1759)
- 时间戳类型显示时精度丢失 (#1411)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
结果集

- 结果集中同时修改多行数据时耗时较久 (#2007)
- Timestamp 类型显示时精度丢失 (#1996)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
表对象

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- 索引和约束视图中列名顺序不一致 (#1948)
- 无法查看 MySQL v5.6 表详情 (#1635)
- 无法查看 Sofa ODP 表详情 (#2043)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
无锁结构变更

- 当输入语句包含注释时,OSC 任务会因为语法异常而失败 (#1597)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
SQL检查

- 存在虚拟列时发生空指针异常 (#2031)
- 通过 DROP CONSTRAINT 删除主键的操作未能检测到 (#1879)
- 特定 ALTER 语句会触发的空指针异常 (#1865)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
分区计划

- 当模式或表名为小写时,无法执行分区 DDL (#2088)
- 当分区上界非顺序地按年/月/日增长时,分区生成错误 (#1992)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
用户与权限

- 批量导入用户包含角色名称会失败 (#1908)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
数据安全

- 使用嵌套 CASE-WHEN 子句时数据掩码不一致 (#1410)

系统集成

- 请求正文中包含中文内容时出现乱码 (#1625)

DB Browser

- 包含索引的表创建语句未被识别为创建类型 (#2063)
- 在 Oracle 模式中 DDL 前后多余空格 (#2050)
- 在 Oracle 11g 模式下无法检索有默认值列的表 (#1733)
- listTables 未能一致地准确返回指定模式下的表 (#1632)
- 在 OceanBase 版本 < V2.2.30 时无法 listTables (#1478)
- MySQL 表结构设计的可视化不足,特别是对于单引号括起的字符串 (#1401)

OB-SQL-Parser

- 解析命名为 'json_table' 的表的 INSERT 语句出错 (#1968)

yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
## 4.2.3_bp1 (2024-02-01)

### 功能变化
Expand Down
172 changes: 170 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,179 @@
# OceanBase Developer Center (ODC) CHANGELOG

## 4.2.4 (2024-04-01)
## 4.2.4 (2024-04-02)

### Feature
### Feature Changes

Data Sources

- OceanBase support added for version 4.2.2
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- New Oracle data source with support for SQL development, import/export, data desensitization, object management, change approval
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- New Doris data source with support for SQL development, import/export, data desensitization, table object management, session management, command-line window, change approval

SQL Development

- 71 common operation snippets built-in, which can auto-complete in the SQL window and will match database type and version
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- SQL auto-completion supports completing data dictionary/performance view
- Case sensitivity for schema names, table names, and column names in Oracle mode now consistent with PL/SQL Developer behavior

Structure Comparison
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- New structure comparison feature added, supporting structure comparisons for homogenous databases (OBOracle, OBMySQL, MySQL)
- Supported scope includes table objects, with comparison properties including columns, primary keys, constraints, indexes, partitions, table properties
- Structure comparison results provide DIFF preview and change script preview
- SQL preview results are downloadable and can directly initiate structure synchronization tasks
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

Online Schema Changes

- Support for adding intermediate columns to tables
- Support for concurrent index changes during table structure modifications (OceanBase Oracle mode)
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Support for primary key deletion when the table contains unique constraints (OceanBase Oracle mode)

Partition Plan
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- Support for configuring partition plans for databases in OBOracle mode
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Partition field types not only support DATE/TIMESTAMP but also NUMBER/CHAR/VARCHAR2 and other field types
- Redesigned the partition plan strategy configuration page, custom mode can configure any partition upper boundary calculation logic through expressions, support for previewing the execution SQL of the partition plan
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Execution cycle for deleting partitions can be independently configured from the creation partition cycle

Data Archiving/Cleaning

- Support for configuring cleaning tasks for databases in OBOracle mode
- Support for configuring archiving tasks for OBOracle -> OBOracle links
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Support for previewing the actual executing SQL for data archival/cleaning tasks at the start of the task
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Data archiving supports custom target table names
- Data cleaning supports whether to use the primary key, if not using the primary key data will be deleted directly based on index condition matching, no need to shard tasks by primary key, can significantly improve cleaning efficiency in certain scenarios
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

Security Standards

- Support for Custom Environment
- Customize SQL window standards and SQL check rules for different business scenarios
- When creating a custom environment, choose an existing environment for initial configuration
- Support for configuring tag styles to easily distinguish between different environments
- Three new SQL check rules added
- Reserved words should not be used as object names
- Existence of offline (lock table) structure change statements, offline structural changes lead to table locking, affecting business
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Existence of TRUNCATE statements, high risk of TRUNCATE tables in production environments
- Default values of risk identification rules in security standards optimized, production environments can be used out of the box
- SQL window standard adds risk tips for enabling PL debugging in production environments

Database-level Access Controls
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- Project collaboration adds library access control
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Library access permission types include querying, exporting, and changing; support for authorization by type; support for setting permission validity period
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Project developers default to having access permissions for all libraries within the project, consistent with previous version behavior
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- New project participant role added, participants default to no access permissions for any library
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Participants can apply for library access permissions through tickets
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Administrators can directly authorize participants with library access permissions
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Administrators can revoke library access permissions from participants
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

Notification Messages
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- Project collaboration adds message notification feature
- Supported event types include work order approval status change, task execution status change, and task scheduling failures
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Notification range can be configured through rules, message content can be configured through templates
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Notification channels support configuring common webhook channels such as DingTalk, Lark, WeCom, also support custom HTTP requests, message sending supports rate limiting
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

System Integration

- SSO adds LDAP protocol support
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

### Usability Improvements

- Optimized the database selection component, standardizing the library selection interaction across product pages and adding fuzzy matching functionality for project names, data source names, and database names.
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Added a resource tree locator key to the SQL window for quickly identifying the current database's position within the resource tree.
- Upgraded preference settings to a top-level feature accessible directly through the [Settings] entry; new configuration options include:
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Whether to enable full-link tracing during SQL execution.
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Whether to continue SQL execution upon encountering errors.
- Customization of editor theme and font size.
- Configuration of editor shortcuts for running SQL commands.
- Setting the default workspace.
- Whether to enable user behavior analytics.
- Desktop version now supports memory size configuration through JVM parameters.
- Added database availability indicators; the database list under projects will now show unavailable statuses and reasons.
- Improved the initiation interaction for work orders:
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Support for initiating various work orders directly from the database in the resource tree.
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Common task work orders (mock data, database changes, data archiving, data cleanup, database permission application) support reinitiation with editable task parameters.
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved
- Enhanced database change processes to detect index change statements and automatically adjust the timeout setting (120h) to prevent index change statement execution failure due to timeout.
- Desktop version personal settings now support custom JVM configuration with memory usage control to within 1 GB.
- Desktop version supports exporting data files larger than 4 GB.
- Optimized the en-US language wording of the product.

### Breaking Changes
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- The default environment for security standards no longer supports editing or disabling.
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

### Fix
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

Connection Session
yizhouxw marked this conversation as resolved.
Show resolved Hide resolved

- Sessions failing to remove after expiration, causing potential leaks (#2125)
- Concurrency issues with SingleConnectionDataSource.getConnection() under high load (#1914)
- Connection failures in OceanBase Oracle, even after username corrections (#1797)
- Intermittent 404 errors when attempting to open SQL console (#1809)

SQL Execution

- Commit/rollback button state not in sync with actual transaction status in OceanBase 4.2 (#2097)
- SQL statements with single-line comments unable to execute (#2085)
- Incorrect offsets for last SQL command without a trailing delimiter (#1970)
- Incompatibility of anonymous block execution module with Oracle 11g (#1759)
- Timestamp types displaying with precision loss (#1411)

Result-set

- Degrading performance when modifying multiple rows concurrently in result-set (#2007)
- Timestamps displaying with precision loss (#1996)

Table Object

- Disparity in column names order between Index and Constraint views (#1948)
- Inability to view table details for MySQL version 5.6 (#1635)
- Sofa ODP table detail view not accessible (#2043)

Online Schema Change

- OSC task experiencing syntax exceptions when input statements contain comments (#1597)

SQL-Check

- Null Pointer Exception occurring when virtual columns are present (#2031)
- Drop operations for primary keys as constraints going undetected (#1879)
- Null Pointer Exception triggered by certain ALTER statements (#1865)

Partition Plan

- Partition DDL execution failures when schema or table names are lowercase (#2088)
Incorrect partition generation when upper bounds increase non-sequentially by year/month/day (#1992)

Data Archiving/Cleaning

- [Pending specific issue description]

Users and Permissions

- Inefficiencies in batch importing users with associated roles (#1908)

Data Security

- Data masking inconsistencies when employing nested CASE-WHEN clauses (#1410)

System Integration

- Presence of garbled code when including Chinese content in request body (#1625)

DB Browser

- Creation type not recognized for table statements containing indexes (#2063)
- DDL containing extraneous spaces before and after in Oracle mode (#2050)
- Tables with default values on columns not retrievable in Oracle 11g mode (#1733)
- listTables not correctly returning tables for the specified schema consistently (#1632)
- listTables failed in OceanBase versions < v2.2.30 (#1478)
- Inadequate visualization for MySQL table structure, specifically for strings in single quotes (#1401)

OB-SQL-Parser

- Parsing issues for INSERT statements into tables named 'json_table' (#1968)

## 4.2.3_bp1 (2024-02-01)

Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

New
~~~
- Feat(tag): add tag service (#2090) [Ang]
- Feat(dlm): adapts to the task framework and supports OceanBase Oracle
mode (#2059) [guowl3]
- Feat(taskframework): supports external log4j configuration file
(#2080) [krihy]
- Feat(partition-plan): make partition name generation based on a
Expand Down Expand Up @@ -100,13 +103,35 @@ New

Changes
~~~~~~~
- Refactor(taskframework): refactor job rate limiter for extension
(#2112) [krihy]
- Refactor(notification): extract siteUrl cacluation logic into util
(#2021) [LuckyLeo]
- Refactor(taskframework): add LoggerService for DLM query log (#1534)
[krihy]

Fix
~~~
- Fix(taskframework): fix decrypt meta db password (#2129) [krihy]
- Fix(session): failed to remove session when session is expired (#2125)
[IL MARE]
- Fix(taskframework): handle all preparing and running task to failed
when task-framework be set disabled (#2119) [krihy]
- Fix(taskframework): add alarm in taskframework (#2098) [krihy]
- Fix(audit): add audit type and event for structure comparing task
(#2117) [pynzzZ]
- Fix(structure-comapre): failed to update task status when task fails
(#2116) [zhangxiao]
- Fix(taskframework): ip change with docker restart cause jobs process
interrupted and status cannot be terminated (#2030) [krihy]
- Fix(data-masking): cannot masking result set when using Oracle (#2114)
[XiaoYang]
- Fix(sso): userAccountName allow null string (#2113) [Ang]
- Fix(data-transfer): support data transfer for doris (#2106) [LuckyLeo]
- Fix(connect): failed to sync standby cluster's databases (#2107) [IL
MARE]
- Fix(doris): failed to view active db sessions in doris (#2104) [IL
MARE]
- Fix(security): add authorize annotation in service class (#2103)
[LuckyLeo]
- Fix(shadowtable): it occurs NPE while creating shadow table comparing
Expand Down
Loading