Hi,
How can we be sure that the previous request status info has been already
processed? What about the following timeline:
-Client1 sends an async request
-Client1 reads status info, it's still running
-Client1 reads status info, it's still running
-Async request finishes
-Right after t
This sounds like something that should have some scoping criteria for
security (I haven't looked at code yet). Is it possible that User A be
given the ability to delete replicas for just a gien collection? (I don't
see the collection in the url you provided)
On Tue, May 9, 2023 at 1:19 PM Jason Ge
I didn't include the collection name in my abbreviated URL, but it is
a required parameter on DELETEREPLICA requests, yep.
Historically, DELETEREPLICA is covered by the "collection-admin-edit"
predefined permission, which is usually given to admins. Which is
consistent with our other cluster-topo
I find it very useful to keep the used async IDs regardless of the status
for some time. For example, If you have a workflow that involves multiple
steps such as add/remove replicas, you can just retry/restart the workflow
and be sure Solr will reject the request if the async ID already exists
(and
Good point Tomas; I hadn't considered that use-case. I suppose the
behavior I suggest could be controlled with a boolean parameter flag like
"asyncDeleteStatus" true/false. WDYT? I'm not married to it.
BTW these async status objects stored in ZK are in fact cleaned up when
they reach 10k in num
> BTW these async status objects stored in ZK are in fact cleaned up when
they reach 10k in number. See SizeLimitedDistributedMap.
Yes, I now remember. The asyncIDs are actually on a regular DistributedMap,
but "completed" and "failure" maps will delete asyncIDs when clearing their
own elements.
Lucene:
- I made a tweak to lucene for something I'm investigating, gave it a
new version, deployed to mavenLocal()
- I have verified that the jars are built with correct META-INF/services
files
Solr:
- I added mavenLocal() in gradle/globals.gradle
- I removed the license file