CAP icon indicating copy to clipboard operation
CAP copied to clipboard

Index error

Open hilken73 opened this issue 1 year ago • 1 comments

When sending messages with bigger content then i get an error. When i can't colve this i has to remove cap and use RMQ native cause i send bigger amount of data. DB VERSION: PGSQL 13

index row size 2744 exceeds btree version 4 maximum 2704 for index "idx_received_Version_ExpiresAt_StatusName"

DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information. at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) at DotNetCore.CAP.PostgreSql.DbConnectionExtensions.ExecuteNonQueryAsync(DbConnection connection, String sql, DbTransaction transaction, Object[] sqlParams) at DotNetCore.CAP.PostgreSql.DbConnectionExtensions.ExecuteNonQueryAsync(DbConnection connection, String sql, DbTransaction transaction, Object[] sqlParams) at DotNetCore.CAP.PostgreSql.PostgreSqlDataStorage.StoreReceivedMessage(Object[] sqlParams) at DotNetCore.CAP.PostgreSql.PostgreSqlDataStorage.StoreReceivedMessage(Object[] sqlParams) at DotNetCore.CAP.PostgreSql.PostgreSqlDataStorage.StoreReceivedMessageAsync(String name, String group, Message message) at DotNetCore.CAP.Internal.ConsumerRegister.<>c__DisplayClass22_0.<b__0>d.MoveNext() Exception data: Severity: ERROR SqlState: 54000 MessageText: index row size 2744 exceeds btree version 4 maximum 2704 for index "idx_received_Version_ExpiresAt_StatusName" Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information. Hint: Values larger than 1/3 of a buffer page cannot be indexed. Consider a function index of an MD5 hash of the value, or use full text indexing. SchemaName: rfr_cap TableName: received ConstraintName: idx_received_Version_ExpiresAt_StatusName File: nbtutils.c Line: 2677

hilken73 avatar Jan 22 '25 11:01 hilken73

Duplicate of #1619

yang-xiaodong avatar Feb 04 '25 09:02 yang-xiaodong