Skip to content

Commit

Permalink
Readded quickwit projects in CI (#4514)
Browse files Browse the repository at this point in the history
* Readded quickwit projects in CI

... and fixing bug that was breaking CI

* Update quickwit/Cargo.toml

Co-authored-by: trinity-1686a <[email protected]>

---------

Co-authored-by: trinity-1686a <[email protected]>
  • Loading branch information
fulmicoton and trinity-1686a authored Feb 5, 2024
1 parent d3b6242 commit f4d1e09
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
31 changes: 30 additions & 1 deletion quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,38 @@ members = [
"quickwit-telemetry",
]
default-members = [
"quickwit-actors",
"quickwit-aws",
"quickwit-cli",
"quickwit-cluster",
"quickwit-codegen",
"quickwit-codegen/example",
"quickwit-common",
"quickwit-config",
"quickwit-control-plane",
"quickwit-index-management",
"quickwit-datetime",
"quickwit-directories",
"quickwit-doc-mapper",
"quickwit-indexing",
"quickwit-metastore"
"quickwit-ingest",
"quickwit-integration-tests",
"quickwit-jaeger",
"quickwit-janitor",
"quickwit-macros",
"quickwit-macros/impl",
"quickwit-metastore",
# Disabling metastore-utils from the quickwit projects to ease build/deps.
# We can reenable it when we need it.
# "quickwit-metastore-utils",
"quickwit-opentelemetry",
"quickwit-proto",
"quickwit-query",
"quickwit-rest-client",
"quickwit-search",
"quickwit-serve",
"quickwit-storage",
"quickwit-telemetry",
]

[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion quickwit/quickwit-ingest/src/ingest_v2/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl FullyLockedIngesterState<'_> {
/// mrecordlog queue first and then removes the associated in-memory shard and rate trackers.
pub async fn delete_shard(&mut self, queue_id: &QueueId) {
// This if-statement is here to avoid needless log.
if self.inner.shards.contains_key(queue_id) {
if !self.inner.shards.contains_key(queue_id) {
// No need to do anything. This queue is not on this ingester.
return;
}
Expand Down

0 comments on commit f4d1e09

Please sign in to comment.