File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/Storages/ObjectStorage Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,11 @@ std::pair<DB::ObjectStoragePtr, std::string> resolveObjectStorageForPath(
291
291
std::cerr << " \n Same location, returning base, which is: NULL\n " ;
292
292
return {base_storage, target.key };
293
293
}
294
+ else
295
+ {
296
+ std::cerr << " \n Storages are different:\n " << base.scheme << " ://" << base.authority
297
+ << " vs " << target.scheme << " ://" << target.authority << " \n " ;
298
+ }
294
299
295
300
const std::string cache_key = endpoint_cache_key (target_norm, target.authority );
296
301
if (auto it = secondary_storages.find (cache_key); it != secondary_storages.end ())
@@ -334,7 +339,7 @@ std::pair<DB::ObjectStoragePtr, std::string> resolveObjectStorageForPath(
334
339
335
340
secondary_storages.emplace (cache_key, storage);
336
341
if (storage)
337
- std::cerr << " \n created new storage: " << storage->getName () << " , " << storage->getObjectsNamespace () << " \n " ;
342
+ std::cerr << " \n created new storage: " << storage->getName () << " , " << storage->getObjectsNamespace () << " : \n descr: " << storage-> getDescription () << " \n " ;
338
343
else
339
344
std::cerr << " \n created new storage: it is NULL\n " ;
340
345
return {storage, target.key };
You can’t perform that action at this time.
0 commit comments