Comments (5)
Pinging @elastic/es-core-infra (Team:Core/Infra)
from elasticsearch.
First concern would be a breaking change for automated or established API usage, but introducing an optional safety setting users could turn on to require confirmation/parameter might be something immediately useful, if it was at either cluster level or index level then it might be flexible, but also having it set at user level would be really handy to then avoid it for automation/service accounts and enable it for less skilled or higher risk users/groups,etc.
from elasticsearch.
Yeah it's gonna be a breaking change, so we could do it step by step, by having such a framework first and then decide when to use it :)
from elasticsearch.
I think we should not make this change in the ES API itself. Leaving aside the enormous breaking effect it'd have on clients, it's not just these two endpoints: really a lot of the API surface has an irreversibly destructive effect. If we started down this path we'd end up wanting to add the same functionality almost everywhere. But then folks would quickly start wanting to add this option automatically in whatever tooling they're using to call ES for the sake of convenience, and then we're back to the original situation again. I saw this in a previous role: someone even proposed a second ?really_acknowledge=true
option because the first acknowledgement was being skipped so much.
Instead, if we think some actions need extra acknowledgement when run directly by a user, let's build that acknowledgement step into the interface that the user is using without disturbing the underlying API. For instance, the Kibana dev tools could require a confirmation on all DELETE
actions.
from elasticsearch.
Thanks! Fair enough. Let's keep this in kibana side then: elastic/kibana#182934
from elasticsearch.
Related Issues (20)
- ESQL: Allow access to failure store HOT 5
- ESQL: fix csv-spec tests expecting a floating result HOT 5
- [Transform] Find a way to see per-node transform stats HOT 1
- Don't fallback to anonymous user when credentials are present (Basic Authentication) HOT 5
- ESQL: Performance regression in topn HOT 2
- Rescoring phase adds unexplained latency to queries HOT 16
- Some combination of `total_shards_per_node` and `allow_rebalance` blocks allocation of unassigned shards with DesiredBalanceAllocator HOT 2
- Populate timeout parameters from REST requests HOT 2
- x-pack-ml binary not getting built while building the elasticsearch from source for s390x HOT 3
- [CI] ReadinessClusterIT testReadinessDuringRestarts failing
- `AssertionError` at `TopScoreDocCollector.java:75` HOT 5
- [CI] DataStreamTests testEqualsAndHashcode failing HOT 1
- [CI] EsqlClientYamlIT test {p0=esql/70_locale/Date format with Italian locale} failing HOT 8
- [CI] MixedClusterClientYamlTestSuiteIT test {p0=search/180_locale_dependent_mapping/Test Index and Search locale dependent mappings / dates} failing HOT 2
- [CI] Netty4TransportMultiPortIntegrationIT testThatTransportClientCanConnect failing HOT 5
- [CI] DeprecationHttpIT testDeprecatedSettingsReturnWarnings failing HOT 8
- API to update node attributes dynamically HOT 2
- [ES|QL] Materialized views HOT 1
- [CI] `EsRejectedExecutionException` trips `TransportService` assertion on shutdown HOT 1
- [CI] ShardBulkInferenceActionFilterTests testManyRandomDocs failing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch.