We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cde20 commit e260bc4Copy full SHA for e260bc4
1 file changed
src/handlers/http/logstream.rs
@@ -494,6 +494,19 @@ pub async fn delete_stream_hot_tier(
494
))
495
}
496
497
+pub async fn get_affected(stream_name: Path<String>) -> Result<impl Responder, StreamError> {
498
+ let stream_name = stream_name.into_inner();
499
+
500
+ // For query mode, if the stream not found in memory map,
501
+ //check if it exists in the storage
502
+ //create stream and schema from storage
503
+ if !PARSEABLE.check_or_load_stream(&stream_name).await {
504
+ return Err(StreamNotFound(stream_name.clone()).into());
505
+ }
506
507
+ Ok((web::Json({}), StatusCode::OK))
508
+}
509
510
#[allow(unused)]
511
fn classify_json_error(kind: serde_json::error::Category) -> StatusCode {
512
match kind {
0 commit comments