Closed tloubrieu-jpl closed 1 month ago
@tloubrieu-jpl is there a workaround for this or is this a critical bug?
@tloubrieu-jpl
Can I get the bundle and harvest config file? How big (bytes) is it including folders etc?
Searched the java code (harvest, registry-mgr, and registry-common) and there is no 'total fields'. At this time, it means it is a serverless limit not ours. We may need to introduce paging of writes were it was not needed previously.
@al-niessner yes I believe this is opensearch serverless limit, we might have to update schema in multiple chucks if that is possible.
Standup status: Started working this AM. LDD loading is not working correctly, but on the hunt.
Sorry for the late response, this is indeed critical, I am not thinking of a work around.
@sjoshi-jpl @al-niessner could the error of this ticket be related to that configuration https://www.elastic.co/guide/en/elasticsearch/reference/master/mapping-settings-limit.html
I remember in the early design of the registry that we have been warned about using too many fields but we did not have issues with that. It feels to me like this configured limit is a safety net to prevent us from having too many fields in our index. But we would need to increase it although I am not sure what the new value should be. 5000 ?
@jordanpadams would you know how many properties are defined in pds4 ?
As part of this fix, I also ran this query on our opensearch server:
PUT /*-registry/_settings
{ "index.mapping.total_fields.limit": 3000 }
This parameter was set in the previous version of our opensearch configuration as shown here: https://github.com/NASA-PDS/registry-mgr/blob/881b696c5a1ab84c6d2fd431a2823555b1d322f9/src/main/resources/elastic/registry.json#L4
Checked for duplicates
No - I haven't checked
π Describe the bug
From Dan Scholes (GEO node) When I did harvest one bundle I got the error message:
After this error the bundle that I am trying to load to the registry is not loaded, see log:
Except for the first time it tried:
Full log: processingLogsBatch2.txt.zip
π΅οΈ Expected behavior
I expected not to have limitation in the updade of the Opensearch schema when I use harvest.
π To Reproduce
No response
π₯ Environment Info
π Version of Software Used
4.0.1
π©Ί Test Data / Additional context
No response
π¦ Related requirements
π¦ #xyz
βοΈ Engineering Details
No response
π Integration & Test
No response