Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-16415: ZK DistributedMap should reject slash in IDs. #1824

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Aug 3, 2023

  • asyncId should not have forward slashes in it
  • SizeLimitedDistributedMap should be resilient to directories (from before)

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

From what I see, this will work for both Overseer & Distributed Admin API modes. The latter is processed by DistributedApiAsyncTracker and it uses DistributedMap and that's what this PR touches.

* asyncId should not have forward slashes in it
* SizeLimitedDistributedMap should be resilient to directories (from before)
@dsmiley dsmiley requested a review from noblepaul August 3, 2023 21:09
@dsmiley
Copy link
Contributor Author

dsmiley commented Aug 3, 2023

@patsonluk you may be interested based on your previous modifications

@dsmiley
Copy link
Contributor Author

dsmiley commented Sep 1, 2023

I'll merge this Monday if I hear no further feedback. We've been using this in production and it's been peer reviewed.

# Conflicts:
#	solr/CHANGES.txt
@dsmiley dsmiley merged commit 78b0262 into apache:main Sep 11, 2023
1 of 2 checks passed
@dsmiley dsmiley deleted the SOLR-16415-asyncIdSlash branch September 11, 2023 20:02
dsmiley added a commit that referenced this pull request Sep 11, 2023
* asyncId should not have forward slashes in it
* SizeLimitedDistributedMap should be resilient to directories (from before)
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.

1 participant