Skip to content

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

Merged
dsmiley merged 3 commits intoapache:mainfrom
dsmiley:SOLR-16415-asyncIdSlash
Sep 11, 2023
Merged

SOLR-16415: ZK DistributedMap should reject slash in IDs.#1824
dsmiley merged 3 commits intoapache:mainfrom
dsmiley:SOLR-16415-asyncIdSlash

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
@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

Comments