Skip to content

Conversation

@fulmicoton-dd
Copy link
Collaborator

No description provided.

@fulmicoton-dd fulmicoton-dd force-pushed the paul.masurel/disable-lifo-slot-by-default branch 4 times, most recently from c1b941a to 0c8c2b0 Compare September 15, 2025 11:34
@fulmicoton-dd fulmicoton-dd force-pushed the paul.masurel/disable-lifo-slot-by-default branch from 0c8c2b0 to 1c8e131 Compare September 15, 2025 11:38
@fulmicoton-dd fulmicoton-dd changed the title Disabling the lifo slot by default Disabling the lifo slot and variable shard load by default Sep 15, 2025
fn enable_variable_shard_load() -> bool {
static IS_SHARD_LOAD_CP_ENABLED: OnceCell<bool> = OnceCell::new();
*IS_SHARD_LOAD_CP_ENABLED.get_or_init(|| {
!quickwit_common::get_bool_from_env("QW_DISABLE_VARIABLE_SHARD_LOAD", false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future I think this pattern would be a bit simpler
QW_VARIABLE_SHARD_LOAD=true|enable
QW_VARIABLE_SHARD_LOAD=false|disable

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of disagree.

But I start thinking that the _DISABLE stuff was not a good idea. (The point was to suggest that the default was enabling of course, but it really sucks when we want to change the default)

@fulmicoton-dd fulmicoton-dd force-pushed the paul.masurel/disable-lifo-slot-by-default branch from 1c8e131 to 701cee1 Compare September 15, 2025 12:45
@fulmicoton fulmicoton enabled auto-merge (squash) September 15, 2025 12:49
@fulmicoton fulmicoton disabled auto-merge September 15, 2025 13:02
@fulmicoton fulmicoton merged commit 96faed6 into main Sep 15, 2025
7 checks passed
@fulmicoton fulmicoton deleted the paul.masurel/disable-lifo-slot-by-default branch September 15, 2025 13:02
fulmicoton-dd added a commit that referenced this pull request Sep 23, 2025
Co-authored-by: Paul Masurel <paul@quickwit.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants