Skip to content

Reset if we don't get a view header#3255

Merged
jiangphcn merged 1 commit into3.xfrom
3.x-reset-corrupt-view-index-2
Nov 9, 2020
Merged

Reset if we don't get a view header#3255
jiangphcn merged 1 commit into3.xfrom
3.x-reset-corrupt-view-index-2

Conversation

@jiangphcn
Copy link
Copy Markdown
Contributor

Overview

merged to 3.x for #2558

Testing recommendations

Related Issues or Pull Requests

Checklist

  • Code is written and works correctly
  • Changes are covered by tests
  • Any new configurable parameters are documented in rel/overlay/etc/default.ini
  • A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

I found a .view file with a db_header in production (cause unknown but
I'm hoping it's manual intervention).

This patch means we'll reset the index if we find something other than
a view header when looking for one.
jiangphcn referenced this pull request Nov 9, 2020
I found a .view file with a db_header in production (cause unknown but
I'm hoping it's manual intervention).

This patch means we'll reset the index if we find something other than
a view header when looking for one.
@jiangphcn jiangphcn merged commit fb91f37 into 3.x Nov 9, 2020
@jiangphcn jiangphcn deleted the 3.x-reset-corrupt-view-index-2 branch November 9, 2020 22:31
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

Successfully merging this pull request may close these issues.

2 participants