Skip to content

fix(db): add conversation order index - #1128

Merged
FGadvancer merged 1 commit into
openimsdk:v3.8.3-patchfrom
FGadvancer:codex/conversation-index-v383patch
Oct 10, 2026
Merged

FGadvancer merged 1 commit into
openimsdk:v3.8.3-patchfrom
FGadvancer:codex/conversation-index-v383patch

Conversation

@FGadvancer

@FGadvancer FGadvancer commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Use a stable, deterministic order when loading the conversation list.
  • Add a SQLite partial expression index so the query does not need temporary sorting files on read-only filesystems.
  • Create the index during initial database setup and SDK version migration.

Testing

  • go test ./pkg/db -run TestConversationListSplitUsesVisibleOrderIndex -count=1 -v

@pull-request-size pull-request-size Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 10, 2026
@FGadvancer
FGadvancer merged commit cfa4b7b into openimsdk:v3.8.3-patch Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant