@@ -1294,7 +1294,7 @@ impl RocksMetaStore {
12941294 let remote_fs = LocalDirRemoteFs :: new ( Some ( remote_store_path. clone ( ) ) , store_path. clone ( ) ) ;
12951295 let store = RocksStore :: new (
12961296 store_path. clone ( ) . join ( details. get_name ( ) ) . as_path ( ) ,
1297- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
1297+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
12981298 config. config_obj ( ) ,
12991299 details,
13001300 )
@@ -4564,7 +4564,7 @@ mod tests {
45644564 {
45654565 let meta_store = RocksMetaStore :: new (
45664566 store_path. join ( "metastore" ) . as_path ( ) ,
4567- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
4567+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
45684568 config. config_obj ( ) ,
45694569 )
45704570 . unwrap ( ) ;
@@ -4752,7 +4752,7 @@ mod tests {
47524752
47534753 let meta_store = RocksMetaStore :: new (
47544754 store_path. join ( "metastore" ) . as_path ( ) ,
4755- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
4755+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
47564756 config. config_obj ( ) ,
47574757 )
47584758 . unwrap ( ) ;
@@ -4831,7 +4831,7 @@ mod tests {
48314831 {
48324832 let meta_store = RocksMetaStore :: new (
48334833 store_path. join ( "metastore" ) . as_path ( ) ,
4834- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
4834+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
48354835 config. config_obj ( ) ,
48364836 )
48374837 . unwrap ( ) ;
@@ -4881,7 +4881,7 @@ mod tests {
48814881 {
48824882 let meta_store = RocksMetaStore :: new (
48834883 store_path. clone ( ) . join ( "metastore" ) . as_path ( ) ,
4884- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
4884+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
48854885 config. config_obj ( ) ,
48864886 )
48874887 . unwrap ( ) ;
@@ -4989,7 +4989,7 @@ mod tests {
49894989 {
49904990 let meta_store = RocksMetaStore :: new (
49914991 store_path. clone ( ) . join ( "metastore" ) . as_path ( ) ,
4992- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
4992+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
49934993 config. config_obj ( ) ,
49944994 )
49954995 . unwrap ( ) ;
@@ -5077,7 +5077,7 @@ mod tests {
50775077 {
50785078 let meta_store = RocksMetaStore :: new (
50795079 store_path. clone ( ) . join ( "metastore" ) . as_path ( ) ,
5080- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
5080+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
50815081 config. config_obj ( ) ,
50825082 )
50835083 . unwrap ( ) ;
@@ -5901,7 +5901,7 @@ mod tests {
59015901 {
59025902 let meta_store = RocksMetaStore :: new (
59035903 store_path. join ( "metastore" ) . as_path ( ) ,
5904- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
5904+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
59055905 config. config_obj ( ) ,
59065906 )
59075907 . unwrap ( ) ;
@@ -6039,7 +6039,7 @@ mod tests {
60396039 {
60406040 let meta_store = RocksMetaStore :: new (
60416041 store_path. join ( "metastore" ) . as_path ( ) ,
6042- BaseRocksStoreFs :: new ( remote_fs. clone ( ) , "metastore" , config. config_obj ( ) ) ,
6042+ BaseRocksStoreFs :: new_for_metastore ( remote_fs. clone ( ) , config. config_obj ( ) ) ,
60436043 config. config_obj ( ) ,
60446044 )
60456045 . unwrap ( ) ;
0 commit comments