Skip to content

SOLR-18104: Remove deprecated constructor in SnapShooter#4137

Merged
epugh merged 4 commits intoapache:mainfrom
epugh:SOLR-18104
Feb 26, 2026
Merged

SOLR-18104: Remove deprecated constructor in SnapShooter#4137
epugh merged 4 commits intoapache:mainfrom
epugh:SOLR-18104

Conversation

@epugh
Copy link
Copy Markdown
Contributor

@epugh epugh commented Feb 15, 2026

https://issues.apache.org/jira/browse/SOLR-18104

Description

This PR is just abut removing a old constructor for SnapShooter that doesn't take in a repo (and therefore internally assumes LocalFileSystemRepository. Basically, when we added the concept of Repository we only modified the code halfway, leaving this method with a deprecation tag.

I THOUGHT this was going to be about removing snapshooter... But alas, it isn't.

Solution

Modify ReplicationHandler to call SnapShooter propertly.

I noticed taht some parameters are reference that are NOT documented in Ref Guide..

Tests

existing tests

@epugh epugh requested a review from HoustonPutman February 15, 2026 14:42
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Feb 15, 2026
@epugh
Copy link
Copy Markdown
Contributor Author

epugh commented Feb 16, 2026

Tests pass locally.

@epugh epugh merged commit dc31be6 into apache:main Feb 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation no-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant