Skip to content

[Bug]: Dreyfus purge error #5916

@nickva

Description

@nickva

Version

unknown

Describe the problem you're encountering

Purging a dreyfus (clouseau) text index when the min purge infos limit is > 0 and then querying is broken and raises this kind of an error:

Querying search index
{
  "error": "{invalid_start_purge_seq,0,3}",
  "reason": "[{couch_bt_engine,fold_purge_infos,5,\n                  [{file,\"src/couch_bt_engine.erl\"},{line,619}]},\n {dreyfus_index_updater,purge_index,3,\n                        [{file,\"src/dreyfus_index_updater.erl\"},{line,116}]},\n {dreyfus_index_updater,update,2,\n                        [{file,\"src/dreyfus_index_updater.erl\"},{line,52}]}]"
}

Expected Behaviour

Dreyfus/clouseau indexes should handle purges even after they've been compacted and start at a value > 0

Steps to Reproduce

Purge greater than purge infos limit number of docs, then compact, then create a clouseau/dreyfus search index

Your Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions