Skip to content
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

LogsDB - Quality Assurance Testing #109800

Closed
1 of 3 tasks
salvatore-campagna opened this issue Jun 17, 2024 · 3 comments
Closed
1 of 3 tasks

LogsDB - Quality Assurance Testing #109800

salvatore-campagna opened this issue Jun 17, 2024 · 3 comments

Comments

@salvatore-campagna
Copy link
Contributor

salvatore-campagna commented Jun 17, 2024

Description

As part of the effort to test integration of LogsDB we would like to run quality assurance testing. LogsDB should work seamlessly when used in place of standard indices. Ideally LogsDB should transparently replace standard indices except for non-functional characteristics when it comes to indexing throughput, query latency and storage footprint.

  • Create a new Elasticsearch datastream using standard index and another datastream using LogsDB. Index the same set of documents in both datastreams. Make sure no indexing error takes place while indexing in both datastreams.
  • Create a new Elasticsearch datastream using standard index and another datastream using LogsDB. Index the same set of documents in both clusters’ datastreams. Run the same query in both clusters and check results are the same, taking into account that the cluster using LogsDB uses synthetic source. Make sure to generate queries both using ESQL and Elasticsearch query DSL.
  • Create a new Elasticsearch datastream using standard index and another datastream using LogsDB. Retrieve all field capabilities using both datastreams as targets. Compare field caps api responses making sure the result is the same.
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@salvatore-campagna salvatore-campagna changed the title LogsDB - Quality Assurance LogsDB - Quality Assurance Testing Jun 17, 2024
@lkts
Copy link
Contributor

lkts commented Jul 17, 2024

#110952 adds initial implementation of data generation logic.

Test data generation roadmap beyond it:

  • nested
  • object mapper configuration parameters like enabled
  • object arrays
  • more leaf fields, more leaf field mapping parameters
  • dynamic mapping
  • runtime fields

@lkts
Copy link
Contributor

lkts commented Sep 17, 2024

Currently pending items:

  • tests using ESQL queries
  • tests using fieldcaps api

Data generation:

  • duse ignore_dynamic_beyond_limit
  • generate malformed values, support ignore_malformed and ignore_above
  • generate more field types including some complex ones (flattened, geo_*, *_range, text with keyword multifield)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants