This commit is contained in:
feng lv 2021-09-14 04:50:18 +00:00
parent 94ba18e050
commit 19ed9c6dbc
3 changed files with 6 additions and 6 deletions

View File

@ -392,8 +392,8 @@ bool StorageFileLog::updateFileStatus()
case Poco::DirectoryWatcher::DW_ITEM_MODIFIED:
LOG_TRACE(log, "New event {} watched, path: {}", event.callback, event.path);
if (std::filesystem::is_regular_file(event.path) && file_status.contains(event.path))
{
if (std::filesystem::is_regular_file(event.path) && file_status.contains(event.path))
{
file_status[event.path].status = FileStatus::UPDATED;
}
break;

View File

@ -42,13 +42,13 @@ ${CLICKHOUSE_CLIENT} --query "create Materialized View mv engine=MergeTree order
cp ${user_files_path}/logs/a.txt ${user_files_path}/logs/c.txt
cp ${user_files_path}/logs/a.txt ${user_files_path}/logs/d.txt
sleep 10
sleep 5
${CLICKHOUSE_CLIENT} --query "select * from mv order by k;"
echo 111, 111 >> ${user_files_path}/logs/a.txt
sleep 10
sleep 5
${CLICKHOUSE_CLIENT} --query "select * from mv order by k;"

View File

@ -464,7 +464,6 @@
"memory_leak",
"memory_limit",
"polygon_dicts", // they use an explicitly specified database
"01658_read_file_to_stringcolumn",
"01721_engine_file_truncate_on_insert", // It's ok to execute in parallel but not several instances of the same test.
"01702_system_query_log", // It's ok to execute in parallel with oter tests but not several instances of the same test.
"01748_dictionary_table_dot", // creates database
@ -513,6 +512,7 @@
"01530_drop_database_atomic_sync", /// creates database
"02001_add_default_database_to_system_users", ///create user
"02002_row_level_filter_bug", ///create user
"02015_system_views"
"02015_system_views",
"02023_storage_filelog"
]
}