Browse Source

Fix some issues
commit_hash:d6b25193257aa73d9d81196326bdb49a2cdd3b94

eshcherbin 4 months ago
parent
commit
fd83b862d3

+ 3 - 2
yt/yt/client/table_client/schemaless_buffered_dynamic_table_writer.cpp

@@ -83,10 +83,11 @@ private:
 
     TBackoffStrategy RetryBackoffStrategy_;
 
-    TPromise<void> ClosePromise_ = NewPromise<void>();
+    const TPromise<void> ClosePromise_ = NewPromise<void>();
     std::atomic<bool> Closed_ = false;
 
-    void Loop() {
+    void Loop()
+    {
         while (!Closed_) {
             auto asyncBatch = Batcher_->DequeueBatch();
             auto batch = WaitForUnique(asyncBatch)