Copy `cortex/pkg/scheduler` package dependency into Loki (#4962)

* Fork pkg/scheduler from cortex to Loki.

* Replace cortex/pkg/scheduler with loki/pkg/scheduler.

* Remove unused cortex subpackages from modules.txt.

* Run `make format` to fix new loki/pkg/scheduler imports.

* Update new scheduler .proto generated files.
pull/4938/merge
Dylan Guedes 3 years ago committed by GitHub
parent d450451c07
commit 07b583bb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      pkg/loki/modules.go
  2. 3
      pkg/lokifrontend/frontend/v1/frontend.go
  3. 3
      pkg/lokifrontend/frontend/v2/frontend_scheduler_worker.go
  4. 3
      pkg/querier/worker/scheduler_processor.go
  5. 0
      pkg/scheduler/queue/queue.go
  6. 0
      pkg/scheduler/queue/user_queues.go
  7. 5
      pkg/scheduler/scheduler.go
  8. 3
      pkg/scheduler/scheduler_test.go
  9. 115
      pkg/scheduler/schedulerpb/scheduler.pb.go
  10. 0
      pkg/scheduler/schedulerpb/scheduler.proto
  11. 2
      vendor/modules.txt

@ -14,7 +14,6 @@ import (
"github.com/cortexproject/cortex/pkg/frontend/v1/frontendv1pb"
"github.com/cortexproject/cortex/pkg/frontend/v2/frontendv2pb"
cortex_ruler "github.com/cortexproject/cortex/pkg/ruler"
"github.com/cortexproject/cortex/pkg/scheduler/schedulerpb"
util_log "github.com/cortexproject/cortex/pkg/util/log"
"github.com/go-kit/log/level"
"github.com/grafana/dskit/kv/codec"
@ -29,6 +28,8 @@ import (
"github.com/weaveworks/common/server"
"github.com/weaveworks/common/user"
"github.com/grafana/loki/pkg/scheduler/schedulerpb"
"github.com/grafana/loki/pkg/distributor"
"github.com/grafana/loki/pkg/ingester"
"github.com/grafana/loki/pkg/logproto"

@ -9,7 +9,6 @@ import (
"github.com/cortexproject/cortex/pkg/frontend/v1/frontendv1pb"
"github.com/cortexproject/cortex/pkg/querier/stats"
"github.com/cortexproject/cortex/pkg/scheduler/queue"
"github.com/cortexproject/cortex/pkg/util"
"github.com/cortexproject/cortex/pkg/util/validation"
"github.com/go-kit/log"
@ -21,6 +20,8 @@ import (
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/weaveworks/common/httpgrpc"
"github.com/grafana/loki/pkg/scheduler/queue"
"github.com/grafana/loki/pkg/tenant"
lokigrpc "github.com/grafana/loki/pkg/util/httpgrpc"
)

@ -7,7 +7,6 @@ import (
"time"
"github.com/cortexproject/cortex/pkg/frontend/v2/frontendv2pb"
"github.com/cortexproject/cortex/pkg/scheduler/schedulerpb"
"github.com/cortexproject/cortex/pkg/util"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
@ -18,6 +17,8 @@ import (
"github.com/weaveworks/common/httpgrpc"
"google.golang.org/grpc"
"github.com/grafana/loki/pkg/scheduler/schedulerpb"
lokiutil "github.com/grafana/loki/pkg/util"
)

@ -9,7 +9,6 @@ import (
"github.com/cortexproject/cortex/pkg/frontend/v2/frontendv2pb"
querier_stats "github.com/cortexproject/cortex/pkg/querier/stats"
"github.com/cortexproject/cortex/pkg/scheduler/schedulerpb"
util_log "github.com/cortexproject/cortex/pkg/util/log"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
@ -27,6 +26,8 @@ import (
"github.com/weaveworks/common/user"
"google.golang.org/grpc"
"google.golang.org/grpc/health/grpc_health_v1"
"github.com/grafana/loki/pkg/scheduler/schedulerpb"
)
func newSchedulerProcessor(cfg Config, handler RequestHandler, log log.Logger, reg prometheus.Registerer) (*schedulerProcessor, []services.Service) {

@ -11,8 +11,6 @@ import (
util_log "github.com/cortexproject/cortex/pkg/util/log"
"github.com/cortexproject/cortex/pkg/frontend/v2/frontendv2pb"
"github.com/cortexproject/cortex/pkg/scheduler/queue"
"github.com/cortexproject/cortex/pkg/scheduler/schedulerpb"
"github.com/cortexproject/cortex/pkg/util"
"github.com/cortexproject/cortex/pkg/util/validation"
"github.com/go-kit/log"
@ -32,6 +30,9 @@ import (
"go.uber.org/atomic"
"google.golang.org/grpc"
"github.com/grafana/loki/pkg/scheduler/queue"
"github.com/grafana/loki/pkg/scheduler/schedulerpb"
"github.com/grafana/loki/pkg/tenant"
lokiutil "github.com/grafana/loki/pkg/util"

@ -4,11 +4,12 @@ import (
"context"
"testing"
"github.com/cortexproject/cortex/pkg/scheduler/schedulerpb"
util_log "github.com/cortexproject/cortex/pkg/util/log"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/grafana/loki/pkg/scheduler/schedulerpb"
"github.com/stretchr/testify/assert"
"google.golang.org/grpc/metadata"
)

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: scheduler.proto
// source: pkg/scheduler/schedulerpb/scheduler.proto
package schedulerpb
@ -52,7 +52,7 @@ var FrontendToSchedulerType_value = map[string]int32{
}
func (FrontendToSchedulerType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{0}
return fileDescriptor_c3657184e8d38989, []int{0}
}
type SchedulerToFrontendStatus int32
@ -79,7 +79,7 @@ var SchedulerToFrontendStatus_value = map[string]int32{
}
func (SchedulerToFrontendStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{1}
return fileDescriptor_c3657184e8d38989, []int{1}
}
// Querier reports its own clientID when it connects, so that scheduler knows how many *different* queriers are connected.
@ -91,7 +91,7 @@ type QuerierToScheduler struct {
func (m *QuerierToScheduler) Reset() { *m = QuerierToScheduler{} }
func (*QuerierToScheduler) ProtoMessage() {}
func (*QuerierToScheduler) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{0}
return fileDescriptor_c3657184e8d38989, []int{0}
}
func (m *QuerierToScheduler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -144,7 +144,7 @@ type SchedulerToQuerier struct {
func (m *SchedulerToQuerier) Reset() { *m = SchedulerToQuerier{} }
func (*SchedulerToQuerier) ProtoMessage() {}
func (*SchedulerToQuerier) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{1}
return fileDescriptor_c3657184e8d38989, []int{1}
}
func (m *SchedulerToQuerier) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -224,7 +224,7 @@ type FrontendToScheduler struct {
func (m *FrontendToScheduler) Reset() { *m = FrontendToScheduler{} }
func (*FrontendToScheduler) ProtoMessage() {}
func (*FrontendToScheduler) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{2}
return fileDescriptor_c3657184e8d38989, []int{2}
}
func (m *FrontendToScheduler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -303,7 +303,7 @@ type SchedulerToFrontend struct {
func (m *SchedulerToFrontend) Reset() { *m = SchedulerToFrontend{} }
func (*SchedulerToFrontend) ProtoMessage() {}
func (*SchedulerToFrontend) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{3}
return fileDescriptor_c3657184e8d38989, []int{3}
}
func (m *SchedulerToFrontend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -353,7 +353,7 @@ type NotifyQuerierShutdownRequest struct {
func (m *NotifyQuerierShutdownRequest) Reset() { *m = NotifyQuerierShutdownRequest{} }
func (*NotifyQuerierShutdownRequest) ProtoMessage() {}
func (*NotifyQuerierShutdownRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{4}
return fileDescriptor_c3657184e8d38989, []int{4}
}
func (m *NotifyQuerierShutdownRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -395,7 +395,7 @@ type NotifyQuerierShutdownResponse struct {
func (m *NotifyQuerierShutdownResponse) Reset() { *m = NotifyQuerierShutdownResponse{} }
func (*NotifyQuerierShutdownResponse) ProtoMessage() {}
func (*NotifyQuerierShutdownResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2b3fc28395a6d9c5, []int{5}
return fileDescriptor_c3657184e8d38989, []int{5}
}
func (m *NotifyQuerierShutdownResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -435,51 +435,54 @@ func init() {
proto.RegisterType((*NotifyQuerierShutdownResponse)(nil), "schedulerpb.NotifyQuerierShutdownResponse")
}
func init() { proto.RegisterFile("scheduler.proto", fileDescriptor_2b3fc28395a6d9c5) }
var fileDescriptor_2b3fc28395a6d9c5 = []byte{
// 650 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcf, 0x4f, 0x13, 0x41,
0x14, 0xde, 0x29, 0x6d, 0x81, 0x57, 0x94, 0x75, 0x00, 0xad, 0x0d, 0x0e, 0x4d, 0x63, 0x4c, 0x25,
0xb1, 0x35, 0xd5, 0x44, 0x0f, 0xc4, 0xa4, 0xc2, 0x22, 0x8d, 0xb8, 0x85, 0xe9, 0x34, 0xfe, 0xb8,
0x34, 0xb4, 0x1d, 0x5a, 0x02, 0xec, 0x2c, 0xb3, 0xbb, 0x92, 0xde, 0x3c, 0x7a, 0xf4, 0xcf, 0xf0,
0x4f, 0xf1, 0x62, 0xc2, 0x91, 0x83, 0x07, 0x59, 0x2e, 0x1e, 0xf9, 0x13, 0x0c, 0xd3, 0x6d, 0xdd,
0xd6, 0x16, 0xb8, 0xbd, 0xf7, 0xf6, 0xfb, 0x76, 0xde, 0xf7, 0xbd, 0x37, 0x03, 0xb3, 0x4e, 0xa3,
0xcd, 0x9b, 0xde, 0x01, 0x97, 0x39, 0x5b, 0x0a, 0x57, 0xe0, 0x44, 0xbf, 0x60, 0xd7, 0x53, 0x4f,
0x5a, 0x7b, 0x6e, 0xdb, 0xab, 0xe7, 0x1a, 0xe2, 0x30, 0xdf, 0x12, 0x2d, 0x91, 0x57, 0x98, 0xba,
0xb7, 0xab, 0x32, 0x95, 0xa8, 0xa8, 0xcb, 0x4d, 0x3d, 0x0f, 0xc1, 0x8f, 0xf9, 0xce, 0x67, 0x7e,
0x2c, 0xe4, 0xbe, 0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a, 0x55, 0x21, 0x11, 0x84, 0x9b, 0x42, 0xd8, 0x78, 0x69, 0xc0, 0xee,
0xff, 0xef, 0x6b, 0x6a, 0x69, 0xdc, 0x3c, 0x02, 0x6c, 0x46, 0xcb, 0xa2, 0xa7, 0x08, 0x5b, 0xb0,
0x30, 0xd2, 0x32, 0xfc, 0x78, 0x80, 0x7f, 0xd5, 0x50, 0x52, 0xcb, 0x37, 0x81, 0x76, 0x27, 0x50,
0xb0, 0x61, 0x3e, 0xac, 0xae, 0xbf, 0x4e, 0x1f, 0x60, 0xa6, 0x17, 0x2b, 0x7d, 0xe9, 0xeb, 0xae,
0x56, 0x2a, 0x7d, 0xdd, 0xc2, 0x75, 0x15, 0xbe, 0x2e, 0x9e, 0x9c, 0x11, 0xed, 0xf4, 0x8c, 0x68,
0x17, 0x67, 0x04, 0x7d, 0xf1, 0x09, 0xfa, 0xee, 0x13, 0xf4, 0xc3, 0x27, 0xe8, 0xc4, 0x27, 0xe8,
0xb7, 0x4f, 0xd0, 0x1f, 0x9f, 0x68, 0x17, 0x3e, 0x41, 0xdf, 0xce, 0x89, 0x76, 0x72, 0x4e, 0xb4,
0xd3, 0x73, 0xa2, 0x7d, 0x0a, 0x3f, 0xbb, 0xf5, 0xb8, 0x7a, 0x18, 0x9f, 0xfd, 0x0d, 0x00, 0x00,
0xff, 0xff, 0x49, 0x11, 0xf9, 0x34, 0x9d, 0x05, 0x00, 0x00,
func init() {
proto.RegisterFile("pkg/scheduler/schedulerpb/scheduler.proto", fileDescriptor_c3657184e8d38989)
}
var fileDescriptor_c3657184e8d38989 = []byte{
// 659 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcf, 0x4f, 0x13, 0x4f,
0x14, 0xdf, 0x29, 0x6d, 0x81, 0x57, 0xbe, 0x5f, 0xd7, 0x01, 0xb4, 0x36, 0x38, 0x34, 0x8d, 0x31,
0x85, 0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, 0x37, 0x5d, 0xad, 0x54, 0xfa, 0xa6, 0x85, 0xeb, 0x2a,
0x7c, 0x5d, 0x3c, 0x39, 0x23, 0xda, 0xe9, 0x19, 0xd1, 0x2e, 0xce, 0x08, 0xfa, 0xe2, 0x13, 0xf4,
0xdd, 0x27, 0xe8, 0x87, 0x4f, 0xd0, 0x89, 0x4f, 0xd0, 0x6f, 0x9f, 0xa0, 0x3f, 0x3e, 0xd1, 0x2e,
0x7c, 0x82, 0xbe, 0x9d, 0x13, 0xed, 0xe4, 0x9c, 0x68, 0xa7, 0xe7, 0x44, 0xfb, 0x14, 0x7e, 0x76,
0xeb, 0x71, 0xf5, 0x30, 0x3e, 0xfb, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x10, 0x20, 0x45, 0xfc, 0xb7,
0x05, 0x00, 0x00,
}
func (x FrontendToSchedulerType) String() string {
@ -909,7 +912,7 @@ var _SchedulerForQuerier_serviceDesc = grpc.ServiceDesc{
ClientStreams: true,
},
},
Metadata: "scheduler.proto",
Metadata: "pkg/scheduler/schedulerpb/scheduler.proto",
}
// SchedulerForFrontendClient is the client API for SchedulerForFrontend service.
@ -1025,7 +1028,7 @@ var _SchedulerForFrontend_serviceDesc = grpc.ServiceDesc{
ClientStreams: true,
},
},
Metadata: "scheduler.proto",
Metadata: "pkg/scheduler/schedulerpb/scheduler.proto",
}
func (m *QuerierToScheduler) Marshal() (dAtA []byte, err error) {

@ -286,8 +286,6 @@ github.com/cortexproject/cortex/pkg/ruler/rulestore/bucketclient
github.com/cortexproject/cortex/pkg/ruler/rulestore/configdb
github.com/cortexproject/cortex/pkg/ruler/rulestore/local
github.com/cortexproject/cortex/pkg/ruler/rulestore/objectclient
github.com/cortexproject/cortex/pkg/scheduler/queue
github.com/cortexproject/cortex/pkg/scheduler/schedulerpb
github.com/cortexproject/cortex/pkg/storage/bucket
github.com/cortexproject/cortex/pkg/storage/bucket/azure
github.com/cortexproject/cortex/pkg/storage/bucket/filesystem

Loading…
Cancel
Save