Skip to content

Commit 8c447a2

Browse files
committed
crash during insertion as well for flushing issues
1 parent 605e570 commit 8c447a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/workload.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ impl Workload {
187187
)
188188
.await?;
189189
create_payload_indexes(client, &self.collection_name).await?;
190-
let _collection_info = get_collection_info(client, &self.collection_name).await?;
190+
let _collection_info = get_collection_info(client, &self.collection_name).await?; // debug
191+
192+
// Enable crashing to happen starting from here
193+
drop(crash_guard);
191194

192195
log::info!("Run: insert points");
193196
insert_points_batch(
@@ -216,9 +219,6 @@ impl Workload {
216219
log::info!("Run: trigger collection snapshot in the background");
217220
let snapshotting_handle = self.trigger_continuous_snapshotting(client);
218221

219-
// Enable crashing to happen starting from here
220-
drop(crash_guard);
221-
222222
log::info!("Run: set payload");
223223
for point_id in 1..self.points_count {
224224
if self.stopped.load(Ordering::Relaxed) {

0 commit comments

Comments
 (0)