@@ -467,7 +467,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
467467 let mut format: ObjectStoreFormat = serde_json:: from_slice (
468468 & PARSEABLE
469469 . metastore
470- . get_stream_json ( stream_name, false , tenant_id)
470+ . get_stream_json ( stream_name, false , tenant_id, false )
471471 . await
472472 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
473473 ) ?;
@@ -490,7 +490,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
490490 let mut format: ObjectStoreFormat = serde_json:: from_slice (
491491 & PARSEABLE
492492 . metastore
493- . get_stream_json ( stream_name, false , tenant_id)
493+ . get_stream_json ( stream_name, false , tenant_id, false )
494494 . await
495495 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
496496 ) ?;
@@ -513,7 +513,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
513513 let mut format: ObjectStoreFormat = serde_json:: from_slice (
514514 & PARSEABLE
515515 . metastore
516- . get_stream_json ( stream_name, false , tenant_id)
516+ . get_stream_json ( stream_name, false , tenant_id, false )
517517 . await
518518 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
519519 ) ?;
@@ -537,7 +537,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
537537 let mut format: ObjectStoreFormat = serde_json:: from_slice (
538538 & PARSEABLE
539539 . metastore
540- . get_stream_json ( stream_name, false , tenant_id)
540+ . get_stream_json ( stream_name, false , tenant_id, false )
541541 . await
542542 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
543543 ) ?;
@@ -583,7 +583,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
583583 let mut format: ObjectStoreFormat = serde_json:: from_slice (
584584 & PARSEABLE
585585 . metastore
586- . get_stream_json ( stream_name, false , tenant_id)
586+ . get_stream_json ( stream_name, false , tenant_id, false )
587587 . await
588588 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
589589 ) ?;
@@ -606,7 +606,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
606606 let mut stream_metadata: ObjectStoreFormat = serde_json:: from_slice (
607607 & PARSEABLE
608608 . metastore
609- . get_stream_json ( stream_name, false , tenant_id)
609+ . get_stream_json ( stream_name, false , tenant_id, false )
610610 . await
611611 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
612612 ) ?;
@@ -629,7 +629,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
629629 let mut stream_metadata: ObjectStoreFormat = serde_json:: from_slice (
630630 & PARSEABLE
631631 . metastore
632- . get_stream_json ( stream_name, false , tenant_id)
632+ . get_stream_json ( stream_name, false , tenant_id, false )
633633 . await
634634 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?,
635635 ) ?;
@@ -649,15 +649,15 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
649649 ) -> Result < ObjectStoreFormat , ObjectStorageError > {
650650 let stream_metadata = match PARSEABLE
651651 . metastore
652- . get_stream_json ( stream_name, false , tenant_id)
652+ . get_stream_json ( stream_name, false , tenant_id, false )
653653 . await
654654 {
655655 Ok ( data) => data,
656656 Err ( _) => {
657657 // get the base stream metadata
658658 let bytes = PARSEABLE
659659 . metastore
660- . get_stream_json ( stream_name, true , tenant_id)
660+ . get_stream_json ( stream_name, true , tenant_id, false )
661661 . await
662662 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?;
663663
@@ -705,7 +705,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
705705 ) -> Result < Bytes , ObjectStorageError > {
706706 if let Ok ( querier_stream_json_bytes) = PARSEABLE
707707 . metastore
708- . get_stream_json ( stream_name, true , tenant_id)
708+ . get_stream_json ( stream_name, true , tenant_id, false )
709709 . await
710710 {
711711 let querier_stream_metadata =
@@ -737,7 +737,7 @@ pub trait ObjectStorage: Debug + Send + Sync + 'static {
737737 if PARSEABLE . get_stream ( stream_name, tenant_id) . is_ok ( ) {
738738 let stream_metadata_bytes = PARSEABLE
739739 . metastore
740- . get_stream_json ( stream_name, false , tenant_id)
740+ . get_stream_json ( stream_name, false , tenant_id, false )
741741 . await
742742 . map_err ( |e| ObjectStorageError :: MetastoreError ( Box :: new ( e. to_detail ( ) ) ) ) ?;
743743 return Ok ( stream_metadata_bytes) ;
0 commit comments