-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix oplog search breaking with very long entries
Postgres aborts queries that try to make a `tsvector` out of a string that is too large, causing oplog search to break. This patch reworks the FTS oplog query to limit each individual field to avoid the cutoff. A drawback is that text after this cutoff point will not be searchable. Fixes #557
- Loading branch information
1 parent
c0860f6
commit de57a07
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters