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/querynodev2/segments/retrieve.go
internal/querynodev2/segments/retrieve.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/querynodev2/segments/segment.go
internal/querynodev2/segments/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
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/result_sorter.go
internal/querynodev2/segments/result_sorter.go
package segments import ( "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/v2/proto/segcorepb" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) type byPK struct { r *segcorepb.RetrieveResults } func (s *byPK) Len() int { if s.r == nil { return 0 } s.r.GetIds().Get...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/collection.go
internal/querynodev2/segments/collection.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/querynodev2/segments/utils_test.go
internal/querynodev2/segments/utils_test.go
package segments import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/v2/common" "github.com/milvus-io/milvus/pkg/v2/proto/datapb" "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/querynodev2/segments/search.go
internal/querynodev2/segments/search.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/querynodev2/segments/reducer.go
internal/querynodev2/segments/reducer.go
package segments import ( "context" "github.com/samber/lo" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/util/segcore" "github.com/milvus-io/milvus/pkg/v2/common" "github.com/milvus-io/milvus/pkg/v2/proto/internalpb" "github.com/milvus-io/milvus/pkg/v2/proto/quer...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/segment_do.go
internal/querynodev2/segments/segment_do.go
package segments import ( "context" "go.uber.org/zap" "golang.org/x/sync/errgroup" "github.com/milvus-io/milvus/internal/querynodev2/segments/metricsutil" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/util/conc" ) type doOnSegmentFunc func(ctx context.Context, segment Segment) e...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/pool.go
internal/querynodev2/segments/pool.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/querynodev2/segments/mock_loader.go
internal/querynodev2/segments/mock_loader.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package segments import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" datapb "github.com/milvus-io/milvus/pkg/v2/proto/datapb" mock "github.com/stretchr/testify/mock" pkoracle "github.com/milvus-io/milvus/internal/queryn...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/segment_filter.go
internal/querynodev2/segments/segment_filter.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/querynodev2/segments/mock_segment_manager.go
internal/querynodev2/segments/mock_segment_manager.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package segments import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" mock "github.com/stretchr/testify/mock" querypb "github.com/milvus-io/milvus/pkg/v2/proto/querypb" ) // MockSegmentManager is an autogenerated mock typ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/segment_l0.go
internal/querynodev2/segments/segment_l0.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/querynodev2/segments/search_reduce.go
internal/querynodev2/segments/search_reduce.go
package segments import ( "context" "fmt" "go.opentelemetry.io/otel" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/util/reduce" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/util/merr" "github.com/milvus-io/milvu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/search_test.go
internal/querynodev2/segments/search_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/querynodev2/segments/retrieve_test.go
internal/querynodev2/segments/retrieve_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/querynodev2/segments/cgo_util.go
internal/querynodev2/segments/cgo_util.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/querynodev2/segments/default_limit_reducer.go
internal/querynodev2/segments/default_limit_reducer.go
package segments import ( "context" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/util/reduce" "github.com/milvus-io/milvus/pkg/v2/proto/internalpb" "github.com/milvus-io/milvus/pkg/v2/proto/querypb" "github.com/milvus-io/milvus/pkg/v2/proto/segcorepb" ) type defa...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/search_reduce_test.go
internal/querynodev2/segments/search_reduce_test.go
package segments import ( "context" "testing" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/mocks/util/mock_segcore" "github.com/milvus-io/milvus/internal/util/reduce" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) typ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/segment_test.go
internal/querynodev2/segments/segment_test.go
package segments import ( "context" "fmt" "path/filepath" "testing" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/mocks/util/mock_segcore" storage "github.com/milvus-io/milvus/internal/storage" "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/querynodev2/segments/index_attr_cache_test.go
internal/querynodev2/segments/index_attr_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/querynodev2/segments/segment_interface.go
internal/querynodev2/segments/segment_interface.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/querynodev2/segments/agg_reducer_test.go
internal/querynodev2/segments/agg_reducer_test.go
package segments import ( "context" "testing" "github.com/stretchr/testify/suite" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/proto/planpb" "github.com/milvus-io/milvus/pkg/v2/proto/segcorepb" "github.c...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/manager.go
internal/querynodev2/segments/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/querynodev2/segments/load_index_info.go
internal/querynodev2/segments/load_index_info.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/querynodev2/segments/state/load_state_lock.go
internal/querynodev2/segments/state/load_state_lock.go
package state import ( "fmt" "sync" "time" "github.com/cockroachdb/errors" "go.uber.org/atomic" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) type loadStateEnum int func noop() {} // LoadState represent the state transition of segment. //...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/state/load_state_lock_guard.go
internal/querynodev2/segments/state/load_state_lock_guard.go
package state type LoadStateLockGuard interface { Done(err error) } // newLoadStateLockGuard creates a LoadStateGuard. func newLoadStateLockGuard(ls *LoadStateLock, original loadStateEnum, target loadStateEnum) *loadStateLockGuard { return &loadStateLockGuard{ ls: ls, original: original, target: targe...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/state/load_state_lock_test.go
internal/querynodev2/segments/state/load_state_lock_test.go
package state import ( "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) func TestLoadStateLoadData(t *testing.T) { paramtable.Init() l := NewLoadStateLock(LoadStateOnlyMeta) // Test Load Data, roll back g, err := l....
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/metricsutil/observer_test.go
internal/querynodev2/segments/metricsutil/observer_test.go
package metricsutil import ( "testing" "time" "github.com/stretchr/testify/assert" ) func TestSegmentGather(t *testing.T) { l := SegmentLabel{ DatabaseName: "db1", ResourceGroup: "rg1", } g := newSegmentObserver("1", l) r1 := NewCacheLoadRecord(l) g.Observe(r1) r2 := NewCacheEvictRecord(l) g.Observe...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/metricsutil/observer.go
internal/querynodev2/segments/metricsutil/observer.go
package metricsutil import ( "strconv" "sync" "time" "github.com/prometheus/client_golang/prometheus" "go.uber.org/atomic" "github.com/milvus-io/milvus/pkg/v2/metrics" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) // labeledRecord is a labeled samp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/metricsutil/record_test.go
internal/querynodev2/segments/metricsutil/record_test.go
package metricsutil import ( "os" "testing" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) var testLabel = SegmentLabel{ DatabaseName: "db", ResourceGroup: "rg", } func TestMain(m *testing.M) { paramtable.Init() os.Exit(m.Run())...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/segments/metricsutil/record.go
internal/querynodev2/segments/metricsutil/record.go
package metricsutil import ( "time" "github.com/milvus-io/milvus/pkg/v2/util/timerecord" ) var ( _ labeledRecord = QuerySegmentAccessRecord{} _ labeledRecord = SearchSegmentAccessRecord{} _ labeledRecord = &CacheLoadRecord{} _ labeledRecord = &CacheEvictRecord{} ) // SegmentLabel is the label of a segment. ty...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/cluster/manager_test.go
internal/querynodev2/cluster/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/querynodev2/cluster/mock_worker.go
internal/querynodev2/cluster/mock_worker.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package cluster import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" internalpb "github.com/milvus-io/milvus/pkg/v2/proto/internalpb" mock "github.com/stretchr/testify/mock" querypb "github.com/milvus-io/milvus/pkg/v2/pr...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/cluster/worker_test.go
internal/querynodev2/cluster/worker_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/querynodev2/cluster/worker.go
internal/querynodev2/cluster/worker.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/querynodev2/cluster/mock_manager.go
internal/querynodev2/cluster/mock_manager.go
// Code generated by mockery v2.53.3. DO NOT EDIT. package cluster import ( context "context" mock "github.com/stretchr/testify/mock" ) // MockManager is an autogenerated mock type for the Manager type type MockManager struct { mock.Mock } type MockManager_Expecter struct { mock *mock.Mock } func (_m *MockMan...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/querynodev2/cluster/manager.go
internal/querynodev2/cluster/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/querynodev2/pipeline/manager_test.go
internal/querynodev2/pipeline/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/querynodev2/pipeline/embedding_node_test.go
internal/querynodev2/pipeline/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/querynodev2/pipeline/pipeline_test.go
internal/querynodev2/pipeline/pipeline_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/querynodev2/pipeline/filter_node_test.go
internal/querynodev2/pipeline/filter_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/querynodev2/pipeline/mock_data.go
internal/querynodev2/pipeline/mock_data.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/querynodev2/pipeline/filter_policy.go
internal/querynodev2/pipeline/filter_policy.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/querynodev2/pipeline/filter_node.go
internal/querynodev2/pipeline/filter_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/querynodev2/pipeline/embedding_node.go
internal/querynodev2/pipeline/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/querynodev2/pipeline/type.go
internal/querynodev2/pipeline/type.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/querynodev2/pipeline/insert_node.go
internal/querynodev2/pipeline/insert_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/querynodev2/pipeline/delete_node.go
internal/querynodev2/pipeline/delete_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/querynodev2/pipeline/message.go
internal/querynodev2/pipeline/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/querynodev2/pipeline/insert_node_test.go
internal/querynodev2/pipeline/insert_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/querynodev2/pipeline/pipeline.go
internal/querynodev2/pipeline/pipeline.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/querynodev2/pipeline/delete_node_test.go
internal/querynodev2/pipeline/delete_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/querynodev2/pipeline/manager.go
internal/querynodev2/pipeline/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/streamingnode/server/builder.go
internal/streamingnode/server/builder.go
package server import ( clientv3 "go.etcd.io/etcd/client/v3" "google.golang.org/grpc" "github.com/milvus-io/milvus/internal/metastore/kv/streamingnode" "github.com/milvus-io/milvus/internal/storage" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "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/streamingnode/server/server.go
internal/streamingnode/server/server.go
package server import ( "context" "fmt" "google.golang.org/grpc" "github.com/milvus-io/milvus/internal/streamingnode/client/handler/registry" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/service" "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/streamingnode/server/service/handler.go
internal/streamingnode/server/service/handler.go
package service import ( "context" "github.com/milvus-io/milvus/internal/streamingnode/server/service/handler/consumer" "github.com/milvus-io/milvus/internal/streamingnode/server/service/handler/producer" "github.com/milvus-io/milvus/internal/streamingnode/server/walmanager" "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/streamingnode/server/service/manager.go
internal/streamingnode/server/service/manager.go
package service import ( "context" "github.com/milvus-io/milvus/internal/streamingnode/server/walmanager" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) var _ ManagerService = (*managerServiceImpl)(nil) // NewManagerService create a streamingno...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/service/handler/producer/metrics.go
internal/streamingnode/server/service/handler/producer/metrics.go
package producer import ( "github.com/prometheus/client_golang/prometheus" "github.com/milvus-io/milvus/pkg/v2/metrics" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) // newProducerMetrics creates a new producer metrics. func newProducerMetrics(pc...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/service/handler/producer/produce_server.go
internal/streamingnode/server/service/handler/producer/produce_server.go
package producer import ( "io" "sync" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/walmanager" "github.com/milvu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/service/handler/producer/produce_server_test.go
internal/streamingnode/server/service/handler/producer/produce_server_test.go
package producer import ( "context" "io" "strconv" "sync" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "go.uber.org/atomic" "google.golang.org/grpc/metadata" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/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/streamingnode/server/service/handler/producer/produce_grpc_server_helper.go
internal/streamingnode/server/service/handler/producer/produce_grpc_server_helper.go
package producer import ( "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" ) // produceGrpcServerHelper is a wrapped producer server of log messages. type produceGrpcServerHelper struct { streamingpb.StreamingNodeHandlerService_ProduceServer } // SendProduceMessage sends the produce result to client. func (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/streamingnode/server/service/handler/consumer/metrics.go
internal/streamingnode/server/service/handler/consumer/metrics.go
package consumer import ( "github.com/prometheus/client_golang/prometheus" "github.com/milvus-io/milvus/pkg/v2/metrics" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) // newConsumerMetrics creates a new consumer metrics. func newConsumerMetrics(pchannel string) *consumerMetrics { constLabel := prometheus...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/service/handler/consumer/consume_server.go
internal/streamingnode/server/service/handler/consumer/consume_server.go
package consumer import ( "io" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/walmanager" "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/streamingnode/server/service/handler/consumer/consume_server_test.go
internal/streamingnode/server/service/handler/consumer/consume_server_test.go
package consumer import ( "context" "io" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "google.golang.org/grpc/metadata" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/mocks/streamingnod...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/service/handler/consumer/consume_grpc_server_helper.go
internal/streamingnode/server/service/handler/consumer/consume_grpc_server_helper.go
package consumer import "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" // consumeGrpcServerHelper is a wrapped consumer server of log messages. type consumeGrpcServerHelper struct { streamingpb.StreamingNodeHandlerService_ConsumeServer } // SendConsumeMessage sends the consume result to client. func (p *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/streamingnode/server/flusher/flusherimpl/msg_handler_impl.go
internal/streamingnode/server/flusher/flusherimpl/msg_handler_impl.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/streamingnode/server/flusher/flusherimpl/wal_flusher.go
internal/streamingnode/server/flusher/flusherimpl/wal_flusher.go
package flusherimpl import ( "context" "github.com/cockroachdb/errors" "github.com/prometheus/client_golang/prometheus" "github.com/samber/lo" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/flushcommon/broker" "github.com/milvus-io/milvus/internal/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/flusher/flusherimpl/wal_flusher_test.go
internal/streamingnode/server/flusher/flusherimpl/wal_flusher_test.go
package flusherimpl import ( "context" "os" "testing" "time" "github.com/stretchr/testify/mock" "google.golang.org/grpc" "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/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/streamingnode/server/flusher/flusherimpl/schema_manager.go
internal/streamingnode/server/flusher/flusherimpl/schema_manager.go
package flusherimpl import ( "context" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/recovery" ) // newVersionedSchemaManager creates a new versioned schema manager. func newVersionedSchemaManager(vchannel string, rs recovery.RecoveryStorage)...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/flusher/flusherimpl/metrics.go
internal/streamingnode/server/flusher/flusherimpl/metrics.go
package flusherimpl import ( "strconv" "github.com/prometheus/client_golang/prometheus" "github.com/milvus-io/milvus/pkg/v2/metrics" "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/tsoutil" ) const ( flush...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/flusher/flusherimpl/util.go
internal/streamingnode/server/flusher/flusherimpl/util.go
package flusherimpl import ( "context" "math" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/pkg/v2/proto/datapb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/flusher/flusherimpl/flusher_components.go
internal/streamingnode/server/flusher/flusherimpl/flusher_components.go
package flusherimpl import ( "context" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/internal/flushcommon/broker" "github.com/milvus-io/milvus/internal/flushcommon/pipeline" "github.com/milvus-io/milvus/internal/flushcommon/syncmgr" "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/streamingnode/server/flusher/flusherimpl/pool.go
internal/streamingnode/server/flusher/flusherimpl/pool.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/streamingnode/server/flusher/flusherimpl/msg_handler_impl_test.go
internal/streamingnode/server/flusher/flusherimpl/msg_handler_impl_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/streamingnode/server/flusher/flusherimpl/data_service_wrapper.go
internal/streamingnode/server/flusher/flusherimpl/data_service_wrapper.go
package flusherimpl import ( "context" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/flushcommon/pipeline" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/pkg/v2/mq/msgstream" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/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/streamingnode/server/resource/test_utility.go
internal/streamingnode/server/resource/test_utility.go
//go:build test // +build test package resource import ( "testing" "github.com/milvus-io/milvus/internal/flushcommon/syncmgr" "github.com/milvus-io/milvus/internal/flushcommon/writebuffer" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/interceptors/shard/stats" tinspector "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/streamingnode/server/resource/resource_test.go
internal/streamingnode/server/resource/resource_test.go
package resource import ( "os" "testing" "github.com/stretchr/testify/assert" clientv3 "go.etcd.io/etcd/client/v3" "github.com/milvus-io/milvus/internal/mocks/mock_metastore" "github.com/milvus-io/milvus/internal/mocks/mock_storage" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/pk...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/resource/resource.go
internal/streamingnode/server/resource/resource.go
package resource import ( "reflect" clientv3 "go.etcd.io/etcd/client/v3" "github.com/milvus-io/milvus/internal/flushcommon/syncmgr" "github.com/milvus-io/milvus/internal/flushcommon/writebuffer" "github.com/milvus-io/milvus/internal/metastore" "github.com/milvus-io/milvus/internal/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/streamingnode/server/wal/wal.go
internal/streamingnode/server/wal/wal.go
package wal import ( "context" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/utility" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) type ( AppendResult = types.AppendResult ReplicateCheckpoint = utility.ReplicateC...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/builder.go
internal/streamingnode/server/wal/builder.go
package wal import ( "context" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) // OpenerBuilder is the interface for build wal opener. type OpenerBuilder interface { // Name of the wal builder, should be a lowercase string. Name() message.W...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/scanner.go
internal/streamingnode/server/wal/scanner.go
package wal import ( "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/options" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) type MessageFilter = func(message.ImmutableMessage) bool var ErrUpstreamClosed ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/opener_test.go
internal/streamingnode/server/wal/adaptor/opener_test.go
package adaptor import ( "context" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/metricsutil" "github.com/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/old_version_message_test.go
internal/streamingnode/server/wal/adaptor/old_version_message_test.go
package adaptor import ( "context" "testing" "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-proto/go-api/v2/milvuspb" "github.com/milvus-io/milvus-proto/go-api/v2/ms...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/scanner_switchable.go
internal/streamingnode/server/wal/adaptor/scanner_switchable.go
package adaptor import ( "context" "time" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/interceptors/wab" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/vchantempstore" "github.com/milvus-io/milvus/pkg/v2/log" "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/streamingnode/server/wal/adaptor/opener.go
internal/streamingnode/server/wal/adaptor/opener.go
package adaptor import ( "context" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/flusher/flusherimpl" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/ro_wal_adaptor.go
internal/streamingnode/server/wal/adaptor/ro_wal_adaptor.go
package adaptor import ( "context" "time" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/metricsutil" "github.com/milvus-io/milvus/internal/util/streamingutil/status" "github.com/milvus-io/milvus/pkg/v2/log" "gi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/initializing.go
internal/streamingnode/server/wal/adaptor/initializing.go
package adaptor import ( "context" "time" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/interceptors" "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/streamingnode/server/wal/adaptor/wal_adaptor.go
internal/streamingnode/server/wal/adaptor/wal_adaptor.go
package adaptor import ( "context" "time" "github.com/cenkalti/backoff/v4" "github.com/cockroachdb/errors" "go.uber.org/atomic" "go.uber.org/zap" "google.golang.org/protobuf/types/known/anypb" "github.com/milvus-io/milvus/internal/streamingnode/server/flusher/flusherimpl" "github.com/milvus-io/milvus/intern...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/recovery_stream.go
internal/streamingnode/server/wal/adaptor/recovery_stream.go
package adaptor import ( "github.com/milvus-io/milvus/internal/streamingnode/server/wal/recovery" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/utility" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "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/streamingnode/server/wal/adaptor/scanner_adaptor.go
internal/streamingnode/server/wal/adaptor/scanner_adaptor.go
package adaptor import ( "context" "fmt" "sync" "github.com/cockroachdb/errors" "go.uber.org/atomic" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/serv...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/builder.go
internal/streamingnode/server/wal/adaptor/builder.go
package adaptor import ( "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/internal/streamingnode/server/wal/interceptors" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" ) var _ wal.OpenerBuilder = (*bu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/old_version_message.go
internal/streamingnode/server/wal/adaptor/old_version_message.go
package adaptor import ( "context" "fmt" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/pkg/v2/mq/common" "github.com/milvus-io/milvus/pkg/v2/mq/msgstream" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streamin...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/scanner_registry.go
internal/streamingnode/server/wal/adaptor/scanner_registry.go
package adaptor import ( "fmt" "github.com/milvus-io/milvus/internal/streamingnode/server/wal" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) type scannerRegistry struct { channel types.PChannelInfo idAllocator *typeutil.IDAllocator } // Allo...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/wal_test.go
internal/streamingnode/server/wal/adaptor/wal_test.go
package adaptor_test import ( "context" "fmt" "math/rand" "sort" "strconv" "sync" "testing" "time" "github.com/cockroachdb/errors" "github.com/remeh/sizedwaitgroup" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/v2/ms...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/adaptor/scanner_adaptor_test.go
internal/streamingnode/server/wal/adaptor/scanner_adaptor_test.go
package adaptor import ( "context" "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "go.uber.org/atomic" "github.com/milvus-io/milvus/internal/mocks/streamingnode/server/wal/interceptors/mock_wab" "github.com/milvus-io/milvus/internal/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/streamingnode/server/wal/recovery/replicate_checkpoint_test.go
internal/streamingnode/server/wal/recovery/replicate_checkpoint_test.go
package recovery import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/impls/wali...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/recovery/metrics.go
internal/streamingnode/server/wal/recovery/metrics.go
package recovery import ( "strconv" "github.com/prometheus/client_golang/prometheus" "github.com/milvus-io/milvus/pkg/v2/metrics" "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/tsoutil" ) func newRecoveryS...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/streamingnode/server/wal/recovery/recovery_storage_test.go
internal/streamingnode/server/wal/recovery/recovery_storage_test.go
package recovery import ( "context" "fmt" "math/rand" "testing" "github.com/cockroachdb/errors" "github.com/samber/lo" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" "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/streamingnode/server/wal/recovery/recovery_background_task.go
internal/streamingnode/server/wal/recovery/recovery_background_task.go
package recovery import ( "context" "time" "github.com/cenkalti/backoff/v4" "github.com/samber/lo" "go.uber.org/zap" "go.uber.org/zap/zapcore" "github.com/milvus-io/milvus/internal/streamingnode/server/resource" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/proto/datapb" "git...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false