Reorder header files for segcore/AckResponder.h (#11058)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/11070/head
Cai Yudong 2021-11-02 10:44:34 +08:00 committed by GitHub
parent af7a5ca50f
commit ca936affac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -10,10 +10,12 @@
// or implied. See the License for the specific language governing permissions and limitations under the License
#pragma once
#include <shared_mutex>
#include <atomic>
#include <mutex>
#include <set>
#include <atomic>
#include <shared_mutex>
namespace milvus::segcore {
// determined the largest number `ack` where
@ -37,6 +39,7 @@ example() {
auto ack4 = acker.GetAck(); // get 20, since acker has { [0, 20) }
}
#endif
class AckResponder {
public:
// specify that segment [seg_begin, seg_end) has been processed