ClickHouse/src/Storages/FileLog
Azat Khuzhin d0189e8f66 Create metadata directory on CREATE for FileLog engine
This will allow to distinguish really corrupted data, since right now if
you will CREATE/DETACH/ATTACH such engine you will have the following
error [1]:

    2022.08.05 20:02:20.726398 [ 696405 ] {} <Error> StorageFileLog (file_log): Metadata files of table file_log are lost.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/39926/72961328f68b1ec05300d6dc4411a87618a2f46b/stress_test__debug_.html

Likely that previously it was not created to avoid creating empty
directories, however this should be a problem I guess.

Refs: #25969 (@ucasfl)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-06 13:54:49 +03:00
..
Buffer_fwd.h
DirectoryWatcherBase.cpp Fix incorrect include 2021-12-24 12:25:26 +03:00
DirectoryWatcherBase.h
FileLogDirectoryWatcher.cpp
FileLogDirectoryWatcher.h base should not depend on Common 2022-04-29 10:26:35 +08:00
FileLogSettings.cpp
FileLogSettings.h
FileLogSource.cpp Move some resources 2022-05-20 19:49:31 +00:00
FileLogSource.h Move some resources 2022-05-20 19:49:31 +00:00
ReadBufferFromFileLog.cpp base should not depend on Common 2022-04-29 10:26:35 +08:00
ReadBufferFromFileLog.h
StorageFileLog.cpp Create metadata directory on CREATE for FileLog engine 2022-08-06 13:54:49 +03:00
StorageFileLog.h Don't let storages inherit from boost::noncopyable 2022-05-03 09:07:08 +02:00