repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/actions.go
internal/flushcommon/metacache/actions.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/actions_test.go
internal/flushcommon/metacache/actions_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/segment.go
internal/flushcommon/metacache/segment.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/bm25_stats.go
internal/flushcommon/metacache/bm25_stats.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/mock_meta_cache.go
internal/flushcommon/metacache/mock_meta_cache.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package metacache import ( datapb "github.com/milvus-io/milvus/pkg/v2/proto/datapb" mock "github.com/stretchr/testify/mock" pkoracle "github.com/milvus-io/milvus/internal/flushcommon/metacache/pkoracle" schemapb "github.com/milvus-io/milvus-proto/go-api/v2/sche...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/meta_cache_test.go
internal/flushcommon/metacache/meta_cache_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/segment_test.go
internal/flushcommon/metacache/segment_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/bm25_stats_test.go
internal/flushcommon/metacache/bm25_stats_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/schema_test.go
internal/flushcommon/metacache/schema_test.go
package metacache import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" ) func TestVersionlessSchemaManager(t *testing.T) { schema := &schemapb.CollectionSchema{ Name: "test", } manager := newVersionlessSchemaManager(schema) assert.Equal(t, schema, ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/schema.go
internal/flushcommon/metacache/schema.go
package metacache import "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" // SchemaManager is a manager for collection schema. type SchemaManager interface { // GetSchema returns the schema at the given timetick GetSchema(timetick uint64) *schemapb.CollectionSchema } // newVersionlessSchemaManager creates a ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/pkoracle/pk_stats.go
internal/flushcommon/metacache/pkoracle/pk_stats.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/pkoracle/bloom_filter_set_test.go
internal/flushcommon/metacache/pkoracle/bloom_filter_set_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/pkoracle/lazy_pk_stats.go
internal/flushcommon/metacache/pkoracle/lazy_pk_stats.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/metacache/pkoracle/bloom_filter_set.go
internal/flushcommon/metacache/pkoracle/bloom_filter_set.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/key_lock_dispatcher.go
internal/flushcommon/syncmgr/key_lock_dispatcher.go
package syncmgr import ( "context" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/pkg/v2/util/conc" "github.com/milvus-io/milvus/pkg/v2/util/lock" ) type Task interface { SegmentID() int64 Checkpoint() *msgpb.MsgPosition StartPosition() *msgpb.MsgPosition ChannelName() strin...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/key_lock_dispatcher_test.go
internal/flushcommon/syncmgr/key_lock_dispatcher_test.go
package syncmgr import ( "context" "testing" "time" "github.com/stretchr/testify/suite" "go.uber.org/atomic" ) type KeyLockDispatcherSuite struct { suite.Suite } func (s *KeyLockDispatcherSuite) TestKeyLock() { ctx, cancel := context.WithCancel(context.Background()) defer cancel() d := newKeyLockDispatcher...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/sync_manager.go
internal/flushcommon/syncmgr/sync_manager.go
package syncmgr import ( "context" "fmt" "strconv" "time" "github.com/cockroachdb/errors" "github.com/hashicorp/golang-lru/v2/expirable" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/allocat...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/pack_writer_v2.go
internal/flushcommon/syncmgr/pack_writer_v2.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/mock_meta_writer.go
internal/flushcommon/syncmgr/mock_meta_writer.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package syncmgr import ( context "context" mock "github.com/stretchr/testify/mock" ) // MockMetaWriter is an autogenerated mock type for the MetaWriter type type MockMetaWriter struct { mock.Mock } type MockMetaWriter_Expecter struct { mock *mock.Mock } func ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/serializer.go
internal/flushcommon/syncmgr/serializer.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/sync_manager_test.go
internal/flushcommon/syncmgr/sync_manager_test.go
package syncmgr import ( "context" "strconv" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "go.uber.org/atomic" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/meta_writer.go
internal/flushcommon/syncmgr/meta_writer.go
package syncmgr import ( "context" "github.com/cockroachdb/errors" "github.com/samber/lo" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/flushcommon/broker" "github.com/milvus-io/milvus/internal/flushcommon/metacache" storage "github.com/milvus-...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/meta_writer_test.go
internal/flushcommon/syncmgr/meta_writer_test.go
package syncmgr import ( "context" "testing" "github.com/cockroachdb/errors" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus/internal/flushcommon/broker" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/internal/flus...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/storage_serializer_test.go
internal/flushcommon/syncmgr/storage_serializer_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/options.go
internal/flushcommon/syncmgr/options.go
package syncmgr import ( "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/allocator" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/proto/indexpb" "github.com/milvus-io/mil...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/task_test.go
internal/flushcommon/syncmgr/task_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/task.go
internal/flushcommon/syncmgr/task.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/mock_pack_writer.go
internal/flushcommon/syncmgr/mock_pack_writer.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package syncmgr import ( context "context" datapb "github.com/milvus-io/milvus/pkg/v2/proto/datapb" mock "github.com/stretchr/testify/mock" ) // MockPackWriter is an autogenerated mock type for the PackWriter type type MockPackWriter struct { mock.Mock } type ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/storage_serializer.go
internal/flushcommon/syncmgr/storage_serializer.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/mock_task.go
internal/flushcommon/syncmgr/mock_task.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package syncmgr import ( context "context" msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" mock "github.com/stretchr/testify/mock" ) // MockTask is an autogenerated mock type for the Task type type MockTask struct { mock.Mock } type MockTask_Expecter...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/mock_sync_manager.go
internal/flushcommon/syncmgr/mock_sync_manager.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package syncmgr import ( context "context" conc "github.com/milvus-io/milvus/pkg/v2/util/conc" mock "github.com/stretchr/testify/mock" storage "github.com/milvus-io/milvus/internal/storage" ) // MockSyncManager is an autogenerated mock type for the SyncManage...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/pack_writer.go
internal/flushcommon/syncmgr/pack_writer.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/pack_writer_test.go
internal/flushcommon/syncmgr/pack_writer_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/syncmgr/pack_writer_v2_test.go
internal/flushcommon/syncmgr/pack_writer_v2_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/broker/broker.go
internal/flushcommon/broker/broker.go
package broker import ( "context" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/pkg/v2/proto/datapb" "github.com/milvus-io/milvus/pkg/v2/proto/internalpb" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) // Broker is the interf...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/broker/datacoord.go
internal/flushcommon/broker/datacoord.go
package broker import ( "context" "math" "time" "github.com/samber/lo" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/metastore/kv/binlog" "github.com/milvus-io/milvus/internal/types" "github...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/broker/mock_broker.go
internal/flushcommon/broker/mock_broker.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package broker import ( context "context" datapb "github.com/milvus-io/milvus/pkg/v2/proto/datapb" internalpb "github.com/milvus-io/milvus/pkg/v2/proto/internalpb" mock "github.com/stretchr/testify/mock" msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/broker/datacoord_test.go
internal/flushcommon/broker/datacoord_test.go
package broker import ( "context" "testing" "time" "github.com/cockroachdb/errors" "github.com/samber/lo" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "google.golang.org/grpc" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/manager_test.go
internal/flushcommon/writebuffer/manager_test.go
package writebuffer import ( "context" "testing" "time" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "go.uber.org/atomic" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/write_buffer.go
internal/flushcommon/writebuffer/write_buffer.go
package writebuffer import ( "context" "fmt" "path" "sync" "time" "github.com/cockroachdb/errors" "github.com/samber/lo" "go.uber.org/atomic" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/l0_write_buffer_test.go
internal/flushcommon/writebuffer/l0_write_buffer_test.go
package writebuffer import ( "fmt" "math/rand" "testing" "time" "github.com/samber/lo" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/stats_buffer.go
internal/flushcommon/writebuffer/stats_buffer.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/segment_buffer.go
internal/flushcommon/writebuffer/segment_buffer.go
package writebuffer import ( "math" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) type segmentBuffer struct { segmentID int64 insertBuffer *InsertBu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/l0_write_buffer.go
internal/flushcommon/writebuffer/l0_write_buffer.go
package writebuffer import ( "context" "fmt" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/allocator" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/delta_buffer.go
internal/flushcommon/writebuffer/delta_buffer.go
package writebuffer import ( "math" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) type DeltaBuffer struct { BufferBase buffer *storage.DeleteData } f...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/sync_policy_test.go
internal/flushcommon/writebuffer/sync_policy_test.go
package writebuffer import ( "testing" "time" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/i...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/delta_buffer_test.go
internal/flushcommon/writebuffer/delta_buffer_test.go
package writebuffer import ( "fmt" "testing" "time" "github.com/samber/lo" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" "github.com/milvus-io/milvus/pkg/v2/util/tsou...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/sync_policy.go
internal/flushcommon/writebuffer/sync_policy.go
package writebuffer import ( "container/heap" "math/rand" "time" "github.com/samber/lo" "go.uber.org/atomic" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/pkg/v2/util/tsoutil" "github.com/milvus-io/milvus/pkg/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/options.go
internal/flushcommon/writebuffer/options.go
package writebuffer import ( "time" "github.com/milvus-io/milvus/internal/allocator" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/internal/flushcommon/syncmgr" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) type WriteBufferOption func(opt *writeBufferOption) ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/insert_buffer.go
internal/flushcommon/writebuffer/insert_buffer.go
package writebuffer import ( "math" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/mock_write_buffer.go
internal/flushcommon/writebuffer/mock_write_buffer.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package writebuffer import ( context "context" msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" mock "github.com/stretchr/testify/mock" msgstream "github.com/milvus-io/milvus/pkg/v2/mq/msgstream" ) // MockWriteBuffer is an autogenerated mock type for ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/insert_buffer_test.go
internal/flushcommon/writebuffer/insert_buffer_test.go
package writebuffer import ( "math/rand" "testing" "time" "github.com/samber/lo" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/mock_manager.go
internal/flushcommon/writebuffer/mock_manager.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package writebuffer import ( context "context" metacache "github.com/milvus-io/milvus/internal/flushcommon/metacache" mock "github.com/stretchr/testify/mock" msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" msgstream "github.com/milvus-io/milvus/pkg/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/manager.go
internal/flushcommon/writebuffer/manager.go
package writebuffer import ( "context" "sync" "time" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/flushcommon/metacache" "github.com/milvus-io/milvus/internal/flushcommon/syncmgr" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/mi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/writebuffer/write_buffer_test.go
internal/flushcommon/writebuffer/write_buffer_test.go
package writebuffer import ( "context" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/io/io_pool_test.go
internal/flushcommon/io/io_pool_test.go
package io import ( "strconv" "sync" "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/config" "github.com/milvus-io/milvus/pkg/v2/util/conc" "github.com/milvus-io/milvus/pkg/v2/util/hardware" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) func TestGetOrCreateIOPool(...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/io/binlog_io.go
internal/flushcommon/io/binlog_io.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/io/binlog_io_test.go
internal/flushcommon/io/binlog_io_test.go
package io import ( "path" "testing" "github.com/samber/lo" "github.com/stretchr/testify/suite" "golang.org/x/net/context" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/pkg/v2/objectstorage" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) const binlogIOTestDir = "/tmp/mi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/io/io_pool.go
internal/flushcommon/io/io_pool.go
package io import ( "context" "sync" "sync/atomic" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/config" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/util/conc" "github.com/milvus-io/milvus/pkg/v2/util/hardware" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_embedding_node_test.go
internal/flushcommon/pipeline/flow_graph_embedding_node_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_manager_test.go
internal/flushcommon/pipeline/flow_graph_manager_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_time_tick_node.go
internal/flushcommon/pipeline/flow_graph_time_tick_node.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/data_sync_service_test.go
internal/flushcommon/pipeline/data_sync_service_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_message_test.go
internal/flushcommon/pipeline/flow_graph_message_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_dd_node_test.go
internal/flushcommon/pipeline/flow_graph_dd_node_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_manager.go
internal/flushcommon/pipeline/flow_graph_manager.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_dd_node.go
internal/flushcommon/pipeline/flow_graph_dd_node.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_embedding_node.go
internal/flushcommon/pipeline/flow_graph_embedding_node.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/mock_fgmanager.go
internal/flushcommon/pipeline/mock_fgmanager.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package pipeline import mock "github.com/stretchr/testify/mock" // MockFlowgraphManager is an autogenerated mock type for the FlowgraphManager type type MockFlowgraphManager struct { mock.Mock } type MockFlowgraphManager_Expecter struct { mock *mock.Mock } func ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_message.go
internal/flushcommon/pipeline/flow_graph_message.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_dmstream_input_node.go
internal/flushcommon/pipeline/flow_graph_dmstream_input_node.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/testutils_test.go
internal/flushcommon/pipeline/testutils_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_dmstream_input_node_test.go
internal/flushcommon/pipeline/flow_graph_dmstream_input_node_test.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/data_sync_service.go
internal/flushcommon/pipeline/data_sync_service.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_node.go
internal/flushcommon/pipeline/flow_graph_node.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/flushcommon/pipeline/flow_graph_write_node.go
internal/flushcommon/pipeline/flow_graph_write_node.go
package pipeline import ( "context" "fmt" "github.com/samber/lo" "go.opentelemetry.io/otel/trace" "go.uber.org/zap" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schem...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/registry/in_mem_resolver.go
internal/registry/in_mem_resolver.go
package registry import ( "context" "sync" "go.uber.org/atomic" qnClient "github.com/milvus-io/milvus/internal/distributed/querynode/client" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/internal/util/wrappers" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) var ( once sync....
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service_test.go
internal/streamingcoord/server/service_test.go
package server import ( "context" "strings" "testing" "github.com/stretchr/testify/assert" etcdkv "github.com/milvus-io/milvus/internal/kv/etcd" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/channel" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/internal/uti...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/builder.go
internal/streamingcoord/server/builder.go
package server import ( clientv3 "go.etcd.io/etcd/client/v3" "github.com/milvus-io/milvus/internal/metastore/kv/streamingcoord" "github.com/milvus-io/milvus/internal/streamingcoord/server/resource" "github.com/milvus-io/milvus/internal/streamingcoord/server/service" "github.com/milvus-io/milvus/internal/types" ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/server.go
internal/streamingcoord/server/server.go
package server import ( "context" "go.uber.org/zap" "google.golang.org/grpc" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/balance" _ "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/policy" // regi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/broadcast.go
internal/streamingcoord/server/service/broadcast.go
package service import ( "context" "github.com/milvus-io/milvus/internal/streamingcoord/server/broadcaster/broadcast" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) // BroadcastService is the interface of the broadcast service. type BroadcastS...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/broadcast_test.go
internal/streamingcoord/server/service/broadcast_test.go
package service import ( "context" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/coordinator/snmanager" "github.com/milv...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/assignment.go
internal/streamingcoord/server/service/assignment.go
package service import ( "context" "github.com/cockroachdb/errors" "github.com/prometheus/client_golang/prometheus" "github.com/samber/lo" "go.uber.org/zap" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/distributed/streaming" ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/assignment_test.go
internal/streamingcoord/server/service/assignment_test.go
package service import ( "context" "io" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/coordinator/snmanager" "github.com/milvus-io/milvus/internal/distributed/streaming" "...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/discover/discover_server_test.go
internal/streamingcoord/server/service/discover/discover_server_test.go
package discover import ( "context" "io" "testing" "github.com/stretchr/testify/mock" "github.com/milvus-io/milvus/internal/mocks/streamingcoord/server/mock_balancer" "github.com/milvus-io/milvus/internal/mocks/streamingnode/client/mock_manager" "github.com/milvus-io/milvus/internal/streamingcoord/server/bala...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/discover/discover_server.go
internal/streamingcoord/server/service/discover/discover_server.go
package discover import ( "context" "io" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer" "github.com/milvus-io/milvus/internal/streamingcoord/server/resource" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/p...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/service/discover/discover_grpc_server_helper.go
internal/streamingcoord/server/service/discover/discover_grpc_server_helper.go
package discover import ( "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer" "github.com/milvus-io/milvus/internal/streamingcoord/server/resource" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) // discoverGrpcServerHelper is a ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/resource/test_utility.go
internal/streamingcoord/server/resource/test_utility.go
//go:build test // +build test package resource import ( "github.com/milvus-io/milvus/internal/streamingnode/client/manager" "github.com/milvus-io/milvus/pkg/v2/log" ) // OptStreamingManagerClient provides streaming manager client to the resource. func OptStreamingManagerClient(c manager.ManagerClient) optResource...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/resource/resource_test.go
internal/streamingcoord/server/resource/resource_test.go
package resource import ( "testing" "github.com/stretchr/testify/assert" clientv3 "go.etcd.io/etcd/client/v3" "github.com/milvus-io/milvus/internal/mocks/mock_metastore" ) func TestInit(t *testing.T) { assert.Panics(t, func() { Init() }) assert.Panics(t, func() { Init(OptETCD(&clientv3.Client{})) }) as...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/resource/resource.go
internal/streamingcoord/server/resource/resource.go
package resource import ( "reflect" clientv3 "go.etcd.io/etcd/client/v3" "github.com/milvus-io/milvus/internal/metastore" "github.com/milvus-io/milvus/internal/streamingnode/client/manager" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/internal/util/idalloc" "github.com/milvus-io/m...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/request.go
internal/streamingcoord/server/balancer/request.go
package balancer import ( "context" "strconv" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" "github.com/milvus-io/milvus/pkg/v2/util/syncutil" ) type response struct { re...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/balancer.go
internal/streamingcoord/server/balancer/balancer.go
package balancer import ( "context" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/channel" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/balancer_impl.go
internal/streamingcoord/server/balancer/balancer_impl.go
package balancer import ( "context" "sort" "time" "github.com/cockroachdb/errors" "go.uber.org/zap" "golang.org/x/sync/errgroup" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/channel" "github.com/milvus-io/milvus/internal/streamingcoord/server/resource" "github.com/milvus-io/milvus/in...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/balancer_test.go
internal/streamingcoord/server/balancer/balancer_test.go
package balancer_test import ( "context" "encoding/json" "path" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "go.uber.org/atomic" "google.golang.org/protobuf/types/known/fieldmaskpb" "github.com/milvus-io/milvus/internal/mocks/moc...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/policy_registry.go
internal/streamingcoord/server/balancer/policy_registry.go
package balancer import ( "sort" "strings" "time" "github.com/samber/lo" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/channel" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" "gith...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/balance/singleton.go
internal/streamingcoord/server/balancer/balance/singleton.go
package balance import ( "context" "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer" "github.com/milvus-io/milvus/pkg/v2/util/syncutil" ) var singleton = syncutil.NewFuture[balancer.Balancer]() func Register(balancer balancer.Balancer) { singleton.Set(balancer) } func GetWithContext(ctx con...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/balance/test_utility.go
internal/streamingcoord/server/balancer/balance/test_utility.go
//go:build test // +build test package balance import ( "github.com/milvus-io/milvus/internal/streamingcoord/server/balancer" "github.com/milvus-io/milvus/pkg/v2/util/syncutil" ) func ResetBalancer() { singleton = syncutil.NewFuture[balancer.Balancer]() }
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/channel/pchannel_view_test.go
internal/streamingcoord/server/balancer/channel/pchannel_view_test.go
package channel import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) func TestPChannelView(t *testing.T) { ResetStaticPChannelStatsManager() RecoverPChannelStatsManager([]string{}) metas := ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/channel/manager_test.go
internal/streamingcoord/server/balancer/channel/manager_test.go
package channel import ( "context" "strings" "testing" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/mocks/mock_metastore"...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingcoord/server/balancer/channel/metrics.go
internal/streamingcoord/server/balancer/channel/metrics.go
package channel import ( "strconv" "github.com/prometheus/client_golang/prometheus" "github.com/milvus-io/milvus/pkg/v2/metrics" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) func newPChannelMetrics() *channelMetrics { constLabel := prometheus.Labels{metrics.NodeIDLabelName: paramtable.GetStringNodeID...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false