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

Index error #1644

Open
hilken73 opened this issue Jan 22, 2025 · 0 comments
Open

Index error #1644

hilken73 opened this issue Jan 22, 2025 · 0 comments

Comments

@hilken73
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant