Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/ingest-data/ingest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ This concludes the tutorial. You can now move on to the [next tutorial](/docs/in

In 0.9, Quickwit introduced a new version of the ingest API that enables distributing the indexing in the cluster regardless of the node that received the ingest request. This new ingestion service is often referred to as "Ingest V2" compared to the legacy ingestion (V1). In upcoming versions the new ingest API will also be capable of replicating the write ahead log in order to achieve higher durability.

By default, both ingestion services are enabled and ingest V2 is used. You can toggle this behavior with the following environment variables:
By default, ingest V1 is enabled and used. You can enable ingest V2 with the following environment variables:

| Variable | Description | Default value |
| --------------------- | --------------|-------------- |
| `QW_ENABLE_INGEST_V2` | Start the V2 ingest service and use it by default. | true |
| `QW_ENABLE_INGEST_V2` | Start the V2 ingest service and use it by default. | false |
| `QW_DISABLE_INGEST_V1`| V1 ingest will be used by the APIs only if V2 is disabled. Running V1 along V2 is necessary to migrate to V2 without loosing existing unindexed V1 logs. | false |

:::note
Expand Down
2 changes: 1 addition & 1 deletion docs/internals/ingest-v2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ingest V2

Ingest V2 is the latest ingestion API that is designed to be more efficient and scalable for thousands of indexes than the previous version. It is the default since 0.9.
Ingest V2 is the latest ingestion API that is designed to be more efficient and scalable for thousands of indexes than the previous version. It is currently disabled by default and can be enabled via the `QW_ENABLE_INGEST_V2` environment variable.

## Architecture

Expand Down
2 changes: 1 addition & 1 deletion quickwit/quickwit-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub use crate::storage_config::{
/// Returns true if the ingest API v2 is enabled.
pub fn enable_ingest_v2() -> bool {
static ENABLE_INGEST_V2: Lazy<bool> =
Lazy::new(|| get_bool_from_env("QW_ENABLE_INGEST_V2", true));
Lazy::new(|| get_bool_from_env("QW_ENABLE_INGEST_V2", false));
*ENABLE_INGEST_V2
}

Expand Down
Loading