-
Notifications
You must be signed in to change notification settings - Fork 484
Description
Describe the bug
Indexes are being deleted from the metastore but delete from storage fails with the below error
2023-07-13T18:14:14.322Z ERROR quickwit_janitor::garbage_collection: Failed to delete ["01H587B1YVBTFYGX00R0PWQGS6.split", "01H587BFTT9RKSCH7HBEH5DPF3.split", "01H587BAR1R72NGXW5CP0467BM.split", "01H587AVEZ9DD64WWRHZE2C66W.split", "01H587AM881RVSFE7ZHH0TWE2X.split"] and 5 other splits. error=Some(StorageError { kind: Service, source: service error: unhandled error: unhandled error: Error { code: "NotImplemented", message: "", aws_request_id: "tx000003a1d4cb4cab98a3a-0064b03ef6-a26d3-blr1a" } (ServiceError(ServiceError { source: Unhandled(Unhandled { source: ErrorMetadata { code: Some("NotImplemented"), message: Some(""), extras: Some({"aws_request_id": "tx000003a1d4cb4cab98a3a-0064b03ef6-a26d3-blr1a"}) }, meta: ErrorMetadata { code: Some("NotImplemented"), message: Some(""), extras: Some({"aws_request_id": "tx000003a1d4cb4cab98a3a-0064b03ef6-a26d3-blr1a"}) } }), raw: Response { inner: Response { status: 501, version: HTTP/1.1, headers: {"content-length": "206", "x-amz-request-id": "tx000003a1d4cb4cab98a3a-0064b03ef6-a26d3-blr1a", "accept-ranges": "bytes", "content-type": "application/xml", "date": "Thu, 13 Jul 2023 18:14:14 GMT", "cache-control": "max-age=60", "strict-transport-security": "max-age=15552000; includeSubDomains; preload", "x-envoy-upstream-healthchecked-cluster": ""}, body: SdkBody { inner: Once(Some(b"NotImplemented
tx000003a1d4cb4cab98a3a-0064b03ef6-a26d3-blr1aa26d3-blr1a-blr1-zg01")), retryable: true } }, properties: SharedPropertyBag(Mutex { data: PropertyBag { contents: ["aws_credential_types::credentials_impl::Credentials", "aws_sig_auth::middleware::Signature", "aws_credential_types::cache::SharedCredentialsCache", "aws_smithy_http::operation::Metadata", "aws_types::SigningService", "aws_smithy_types::endpoint::Endpoint", "alloc::vec::Vechttp::version::Version", "aws_http::user_agent::AwsUserAgent", "aws_types::region::Region", "aws_sdk_s3::endpoint::Params", "aws_sig_auth::signer::OperationSigningConfig", "aws_smithy_http::connection::CaptureSmithyConnection", "aws_types::region::SigningRegion"] }, poisoned: false, .. }) } })) }) index_id="brchs" num_failed_splits=5
Steps to reproduce (if applicable)
Steps to reproduce the behavior:
- Create a index
- Delete the same index
Expected behavior
Indexes are deleted from the DO storage too.
Configuration:
config.yaml
version: 0.6
node_id: searcher-1
listen_address: 0.0.0.0
metastore_uri: postgresql://adfd:[email protected]:25061/main
default_index_root_uri: /indexes
storage:
s3:
endpoint: https://dfad-adfadf.blr1.digitaloceanspaces.com/
force_path_style_access: true
-
Output of
quickwit --version
Quickwit v0.6.1 (798ad68 2023-06-12T06:56:37Z) -
The index_config.yaml
version: "0.6"
index_id: "brchs"
index_uri: "s3://indexes/brchs"
doc_mapping:
mode: dynamic
field_mappings:
- name: sfhfhsfhhhh
type: text
fast: true
record: position
- name: sfhfhsfh
tokenizer: raw
record: position
type: text
fast: true
- name: fshfhsfh
tokenizer: raw
record: position
type: text
fast: true
- name: fhsf
tokenizer: raw
record: position
type: text
fast: true
- name: abdbfa
type: u64
fast: true
- name: created_at
description: "If anything exists in the DB, then add it here"
type: datetime
fast: true
- name: indexed_at
description: "Datetime when this object was indexed"
type: datetime
fast: true
tag_fields: ["sfhfhsfh", "fhsf"]
partition_key: breach_name
timestamp_field: "indexed_at"
search_settings:
default_search_fields: ["fhsf"]
indexing_settings:
commit_timeout_secs: 5
merge_policy:
type: "stable_log"
min_level_num_docs: 100000
merge_factor: 10
max_merge_factor: 12
retention:
period: "3 years"
schedule: monthly