mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix fsync_after_insert by not closing fd from finalize()
But this may cause troubles, another option will be to split finalize() into finalize(bool sync) and finalizeImpl() This was introduced in #8356
This commit is contained in:
parent
52f56cd6ad
commit
53268d9f05
@ -50,11 +50,6 @@ public:
|
||||
/// Close file before destruction of object.
|
||||
void close();
|
||||
|
||||
void finalize() override
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
std::string getFileName() const override
|
||||
{
|
||||
return file_name;
|
||||
|
Loading…
Reference in New Issue
Block a user