apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.01k stars 3.15k forks source link

[Bug] failed to init rowset builder. version count: 2002, exceed limit: 2000 #36861

Open hsgo1234 opened 1 month ago

hsgo1234 commented 1 month ago

Search before asking

Version

2.1.3

What's Wrong?

[INTERNAL_ERROR]close wait failed coz rpc error. [INTERNAL_ERROR]tablet error: [E-235]failed to init rowset builder. version count: 2002, exceed limit: 2000, tablet: 3355365,

image image image

What You Expected?

如何解决?

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

hsgo1234 commented 1 month ago

image

hsgo1234 commented 1 month ago

Caused by: java.sql.SQLException: errCode = 2, detailMessage = (192.168.5.92)[INTERNAL_ERROR][INTERNAL_ERROR]close wait failed coz rpc error. [INTERNAL_ERROR]tablet error: [E-235]failed to init rowset builder. version count: 2002, exceed limit: 2000, tablet: 3355365, host: 192.168.5.247, host: 192.168.5.247 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)

zhangweiwhim commented 1 month ago

The config is max_tablet_version_num , error caused by too frequent import or untimely compaction