-
Notifications
You must be signed in to change notification settings - Fork 2
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
Script: Configuration driven validation for CtxMap #6
base: ingest_sm_to_ctx_map
Are you sure you want to change the base?
Commits on Jul 11, 2022
-
Improve error when sorting on incompatible types (elastic#88399)
Currently when sorting on incompatible types, we get class_cast_exception error (code 500). This patch improves the error to explain that the problem is because of incompatible sort types for the field across different shards and returns user error (code 400). Closes elastic#73146
Configuration menu - View commit details
-
Copy full SHA for 4cc8484 - Browse repository at this point
Copy the full SHA 4cc8484View commit details -
Script: Configuration driven validation for CtxMap
Adds FieldProperties record that configures how to validate fields. Fields have a type, are writeable or read-only, and nullable or not and may have an additional validation useful for Set/Enum validation. Splits IngestMetadata from Metadata in preparation for new Metdata subclasses.
Configuration menu - View commit details
-
Copy full SHA for 86b35ed - Browse repository at this point
Copy the full SHA 86b35edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 472b824 - Browse repository at this point
Copy the full SHA 472b824View commit details -
Merge branch 'ingest_ctx_map' of github.com:stu-elastic/elasticsearch…
… into ingest_ctx_map_field_prop
Configuration menu - View commit details
-
Copy full SHA for 1a0ef93 - Browse repository at this point
Copy the full SHA 1a0ef93View commit details
Commits on Jul 12, 2022
-
Merge branch 'ingest_sm_to_ctx_map' of github.com:stu-elastic/elastic…
…search into ingest_ctx_map_field_prop
Configuration menu - View commit details
-
Copy full SHA for 48c62de - Browse repository at this point
Copy the full SHA 48c62deView commit details -
Configuration menu - View commit details
-
Copy full SHA for b55a0bc - Browse repository at this point
Copy the full SHA b55a0bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ac7ae - Browse repository at this point
Copy the full SHA f9ac7aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15328b1 - Browse repository at this point
Copy the full SHA 15328b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 824cdc8 - Browse repository at this point
Copy the full SHA 824cdc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c39bb9d - Browse repository at this point
Copy the full SHA c39bb9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e81f5fa - Browse repository at this point
Copy the full SHA e81f5faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7276bb0 - Browse repository at this point
Copy the full SHA 7276bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78244b7 - Browse repository at this point
Copy the full SHA 78244b7View commit details -
Don't index geo_shape field in AbstractBuilderTestCase (elastic#88437)
This commit stops adding the geo_shape field mapper by default and adds the mapper only when it is needed.
Configuration menu - View commit details
-
Copy full SHA for dd1bd83 - Browse repository at this point
Copy the full SHA dd1bd83View commit details -
Reduce map lookups (elastic#88418)
This change replcase 2 hash map operations with a single one and a null check.
Configuration menu - View commit details
-
Copy full SHA for 47510ad - Browse repository at this point
Copy the full SHA 47510adView commit details -
Make ClusterInfo use immutable maps in all cases (elastic#88447)
This class's maps are used very hot in the disk threshold allocation decider. Moving them from hppc maps to unmodifiable map wrapping `HashMap` has led to a measurable slowdown in the many-shards benchmark bootstrapping. Lets use immutable map copies here exclusively to make performance outright better and more predictable via a single implementation.
Configuration menu - View commit details
-
Copy full SHA for 9ebbe1c - Browse repository at this point
Copy the full SHA 9ebbe1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4ec9c6 - Browse repository at this point
Copy the full SHA a4ec9c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc9605 - Browse repository at this point
Copy the full SHA ecc9605View commit details -
Pass IndexMetadata to AllocationDecider.can_remain (elastic#88453)
We need the metadata in a number of allocation deciders and pass it to other allocation methods. Passing it here avoids redundant lookups across deciders.
Configuration menu - View commit details
-
Copy full SHA for 4889650 - Browse repository at this point
Copy the full SHA 4889650View commit details -
Polish reworked LoggedExec task (elastic#88424)
Some polishing of reworked LoggedExec task
Configuration menu - View commit details
-
Copy full SHA for a2ee4c5 - Browse repository at this point
Copy the full SHA a2ee4c5View commit details -
Updatable API keys - logging audit trail event (elastic#88276)
This PR adds a new audit trail event for when API keys are updated.
Configuration menu - View commit details
-
Copy full SHA for c56715f - Browse repository at this point
Copy the full SHA c56715fView commit details -
Bound random negative size test in SearchSourceBuilderTests#testNegat…
…iveSizeErrors (elastic#88457) -1 is handled differently by the xcontent code path so this test will fail when `randomIntBetween` lands on -1. To fix, we add another integer for the xcontent test which starts at -2.
Configuration menu - View commit details
-
Copy full SHA for 5628b87 - Browse repository at this point
Copy the full SHA 5628b87View commit details -
Audit API key ID when create or grant API keys (elastic#88456)
The API key ID generation is handled by the Request class since elastic#63221. This makes it possible to audit it when creating or granting API keys. This PR makes the necessary changes for it to happen. Relates: elastic#63221
Configuration menu - View commit details
-
Copy full SHA for 24d2520 - Browse repository at this point
Copy the full SHA 24d2520View commit details -
TSDB: RollupShardIndexer logging improvements (elastic#88416)
1. Add trace log guards to avoid high cost method 2. Log the time it took to rollup a shard
Configuration menu - View commit details
-
Copy full SHA for 3ed549b - Browse repository at this point
Copy the full SHA 3ed549bView commit details -
Stop registering TestGeoShapeFieldMapperPlugin in ESIntegTestCase (el…
…astic#88460) Instead of registering the plugin by default, implementations that need it are responsible on registering the plugin.
Configuration menu - View commit details
-
Copy full SHA for 4af02b8 - Browse repository at this point
Copy the full SHA 4af02b8View commit details -
Use consistent shard map type in IndexService (elastic#88465)
It's faster and easier to reason about if we always have an immutable collections map here and not have the type depend on what the last operation on the index service was.
Configuration menu - View commit details
-
Copy full SHA for 47ecd20 - Browse repository at this point
Copy the full SHA 47ecd20View commit details -
Corrected an incomplete sentence. (elastic#86542)
* Corrected an incomplete sentence. * Update docs/reference/aggregations/metrics/avg-aggregation.asciidoc Co-authored-by: Christos Soulios <[email protected]> Co-authored-by: David Kilfoyle <[email protected]> Co-authored-by: Christos Soulios <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67cacde - Browse repository at this point
Copy the full SHA 67cacdeView commit details -
Updatable API keys - noop check (elastic#88346)
This PR adds a noop check for API key updates. If we detect a noop update, i.e., an update that does not result in any changes to the existing doc, we skip the index step and return updated = false in the response. This PR also extends test coverage around various corner cases.
Configuration menu - View commit details
-
Copy full SHA for 28048a5 - Browse repository at this point
Copy the full SHA 28048a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb95041 - Browse repository at this point
Copy the full SHA bb95041View commit details -
INFO logging of snapshot restore and completion (elastic#88257)
But DEBUG (silent) logging of snapshot restore/completion when done in the context of CCR or searchable snapshots.
Configuration menu - View commit details
-
Copy full SHA for 1e07915 - Browse repository at this point
Copy the full SHA 1e07915View commit details -
Fix ReactiveStorageDeciderServiceTests testNodeSizeForDataBelowLowWat…
…ermark (elastic#88452) Fix this test unexpectedly being off by one by increasing the accuracy of the fp division (better to have a larger dividend and divisor) a little. I could easily reproduce the failure without the fix but with it, the test cases we use at least run accurate with the change. closes elastic#88433
Configuration menu - View commit details
-
Copy full SHA for 84af493 - Browse repository at this point
Copy the full SHA 84af493View commit details -
Avoid noisy exceptions on data nodes when aborting snapshots (elastic…
…#88476) Currently, an abort (especially when triggered an index delete) can manifest as either an aborted snapshot exception, a missing index exception or an NPE. The latter two show up as noise in logs. This change catches effectively all of these cleanly as aborted snapshot exceptions so they don't get logged as warnings and avoids the NPE if a shard was removed from the index service concurrently by using the API that throws on missing shards to look it up.
Configuration menu - View commit details
-
Copy full SHA for ba46bd4 - Browse repository at this point
Copy the full SHA ba46bd4View commit details -
Merge branch 'master' of github.com:stu-elastic/elasticsearch into in…
…gest_ctx_map_field_prop
Configuration menu - View commit details
-
Copy full SHA for 7be1f41 - Browse repository at this point
Copy the full SHA 7be1f41View commit details -
Track the count of failed invocations since last successful policy sn…
…apshot (elastic#88398) Add tracking for the number of invocations that have passed between a successful SLM snapshot and the most recent failure. These stats would be helpful for reporting on SLM policy health.
Configuration menu - View commit details
-
Copy full SHA for b790256 - Browse repository at this point
Copy the full SHA b790256View commit details -
Configuration menu - View commit details
-
Copy full SHA for c636e43 - Browse repository at this point
Copy the full SHA c636e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c54f1 - Browse repository at this point
Copy the full SHA 08c54f1View commit details -
Move runtime fields base scripts out of scripting fields api package. (…
…elastic#88488) Two runtime fields script classes were placed into the package for the scripting fields api. These have been moved to the script package where the rest of the runtime fields script classes live. This is a purely mechanical change.
Configuration menu - View commit details
-
Copy full SHA for c271d39 - Browse repository at this point
Copy the full SHA c271d39View commit details -
Ingest: Start separating Metadata from IngestSourceAndMetadata (elast…
…ic#88401) Pull out the implementation of `Metadata` from `IngestSourceAndMetadata`. `Metadata` will become a base class extended by the update contexts: ingest, update, update by query and reindex. `Metadata` implements a map-like interface, making it easy for a class containing `Metadata` to implement the full `Map` interface.
Configuration menu - View commit details
-
Copy full SHA for 39de085 - Browse repository at this point
Copy the full SHA 39de085View commit details -
Merge branch 'master' of github.com:stu-elastic/elasticsearch into in…
…gest_ctx_map_field_prop
Configuration menu - View commit details
-
Copy full SHA for e27d73a - Browse repository at this point
Copy the full SHA e27d73aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7b389 - Browse repository at this point
Copy the full SHA 9c7b389View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a45f97 - Browse repository at this point
Copy the full SHA 5a45f97View commit details
Commits on Jul 13, 2022
-
IngestMetadata -> IngestDocMetadata, remove splitSourceAndMetadta, fi…
…x validate javadoc
Configuration menu - View commit details
-
Copy full SHA for dc1fc58 - Browse repository at this point
Copy the full SHA dc1fc58View commit details -
Configuration menu - View commit details
-
Copy full SHA for a08afb8 - Browse repository at this point
Copy the full SHA a08afb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb42c6 - Browse repository at this point
Copy the full SHA 8eb42c6View commit details