Skip to content

Commit

Permalink
Bug in sending of data Milvus benchmark was fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Nov 29, 2023
1 parent c4f8e0b commit fb30eab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ public static void main(String[] args) throws Exception {
var batchSize = 500_000;

for (long i = 0; i < VECTORS_COUNT / batchSize; i++) {
for (int n = 0; n < batchSize; n++) {
ids.clear();
vectors.clear();
ids.clear();
vectors.clear();

for (int n = 0; n < batchSize; n++) {
if (buffer.remaining() == 0) {
buffer.rewind();

Expand Down

0 comments on commit fb30eab

Please sign in to comment.