Skip to content

Remove Deprecated SimpleFS#1639

Merged
nknize merged 2 commits intoopensearch-project:mainfrom
nknize:remove/simpleFS
Dec 3, 2021
Merged

Remove Deprecated SimpleFS#1639
nknize merged 2 commits intoopensearch-project:mainfrom
nknize:remove/simpleFS

Conversation

@nknize
Copy link
Copy Markdown
Contributor

@nknize nknize commented Dec 1, 2021

Lucene 9 removes support for SimpleFS File System format. This PR completely
removes SimpleFS support which was deprecated in a previous PR.

@nknize nknize added v2.0.0 Version 2.0.0 Storage:Durability Issues and PRs related to the durability framework labels Dec 1, 2021
@nknize nknize requested a review from a team as a code owner December 1, 2021 18:44
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Wrapper Validation success 7077f98aa387e5c66168699bfce2f44557ef9fdd

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

Lucene 9 removes support for SimpleFS File System format. This PR completely
removes SimpleFS support which was deprecated in a previous PR.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Wrapper Validation success 6f1d95e

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Precommit success 7077f98aa387e5c66168699bfce2f44557ef9fdd

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Wrapper Validation success 811ddc2

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Precommit success 6f1d95e

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Precommit success 811ddc2

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

❌   Gradle Check failure 7077f98aa387e5c66168699bfce2f44557ef9fdd
Log 1283

Reports 1283

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

❌   Gradle Check failure 6f1d95e
Log 1284

Reports 1284

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Check success 811ddc2
Log 1285

Reports 1285

case MMAPFS:
return setPreload(new MMapDirectory(location, lockFactory), lockFactory, preLoadExtensions);
// simplefs was removed in Lucene 9; support for enum is maintained for bwc
case SIMPLEFS:
Copy link
Copy Markdown
Contributor

@reta reta Dec 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we throw the exception here that SIMPLEFS is not supported anymore? Or may be, to not break bwc, log a warning that SIMPLEFS is not supported, NIOFS will be used instead?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add an assert instead as an invariant?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not needed here since this is for bwc only.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation logging is already handled in MetadataUpdateSettingsService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage:Durability Issues and PRs related to the durability framework v2.0.0 Version 2.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants