Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(core): Fix performance issue in type filter #9065

Merged
merged 7 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions dgraph/cmd/alpha/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ they form a Raft group and provide synchronous replication.
Flag("shared-instance", "When set to true, it disables ACLs for non-galaxy users. "+
"It expects the access JWT to be constructed outside dgraph for non-galaxy users as "+
"login is denied to them. Additionally, this disables access to environment variables for minio, aws, etc.").
Flag("type-filter-uid-limit", "TypeFilterUidLimit decides how many elements would be searched directly"+
" vs searched via type index. If the number of elements are too low, then querying the"+
" index might be slower. This would allow people to set their limit according to"+
" their use case.").
String())

flag.String("graphql", worker.GraphQLDefaults, z.NewSuperFlagHelp(worker.GraphQLDefaults).
Expand Down Expand Up @@ -641,16 +645,21 @@ func run() {
security := z.NewSuperFlag(Alpha.Conf.GetString("security")).MergeAndCheckDefault(
worker.SecurityDefaults)
conf := audit.GetAuditConf(Alpha.Conf.GetString("audit"))

x.Config.Limit = z.NewSuperFlag(Alpha.Conf.GetString("limit")).MergeAndCheckDefault(
worker.LimitDefaults)

opts := worker.Options{
PostingDir: Alpha.Conf.GetString("postings"),
WALDir: Alpha.Conf.GetString("wal"),
CacheMb: totalCache,
CachePercentage: cachePercentage,

MutationsMode: worker.AllowMutations,
AuthToken: security.GetString("token"),
Audit: conf,
ChangeDataConf: Alpha.Conf.GetString("cdc"),
MutationsMode: worker.AllowMutations,
AuthToken: security.GetString("token"),
Audit: conf,
ChangeDataConf: Alpha.Conf.GetString("cdc"),
TypeFilterUidLimit: x.Config.Limit.GetInt64("type-filter-uid-limit"),
}

keys, err := ee.GetKeys(Alpha.Conf)
Expand All @@ -663,8 +672,6 @@ func run() {
glog.Info("ACL secret key loaded successfully.")
}

x.Config.Limit = z.NewSuperFlag(Alpha.Conf.GetString("limit")).MergeAndCheckDefault(
worker.LimitDefaults)
abortDur := x.Config.Limit.GetDuration("txn-abort-after")
switch strings.ToLower(x.Config.Limit.GetString("mutations")) {
case "allow":
Expand Down
24 changes: 24 additions & 0 deletions posting/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"sort"

"github.com/dgryski/go-farm"
"github.com/golang/glog"
"github.com/golang/protobuf/proto"
"github.com/pkg/errors"

Expand Down Expand Up @@ -655,6 +656,16 @@ func (l *List) iterate(readTs uint64, afterUid uint64, f func(obj *pb.Posting) e
})
}

numDeletePostingsRead := 0
numNormalPostingsRead := 0
defer func() {
if numNormalPostingsRead < numDeletePostingsRead {
glog.V(3).Infof("During iterate on posting list, we read %d set postings, %d delete postings"+

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we clarify this message in some way to be more useful to someone who is not familiar with internal workings? Also include which posting list if that is available.

I think this means that the badger values representing a posting list (in 256KB chunks IIRC) contained many deleted structures, and are doing more than 50% of the data movement for non-useful deleted data.

If so something like: "High proportion of deleted data observed for posting list {l.key}: total = {numNormal+numdeleted}, percent deleted = {numDel / (numnormal+numdel) * 100}%".

". Difference: %d", numNormalPostingsRead, numDeletePostingsRead,
numNormalPostingsRead-numDeletePostingsRead)
}
}()

var (
mp, pp *pb.Posting
pitr pIterator
Expand Down Expand Up @@ -697,6 +708,7 @@ loop:
case mp.Uid == 0 || (pp.Uid > 0 && pp.Uid < mp.Uid):
// Either mp is empty, or pp is lower than mp.
err = f(pp)
numNormalPostingsRead += 1
if err != nil {
break loop
}
Expand All @@ -708,18 +720,24 @@ loop:
// Either pp is empty, or mp is lower than pp.
if mp.Op != Del {
err = f(mp)
numNormalPostingsRead += 1
if err != nil {
break loop
}
} else {
numDeletePostingsRead += 1
}
prevUid = mp.Uid
midx++
case pp.Uid == mp.Uid:
if mp.Op != Del {
err = f(mp)
numNormalPostingsRead += 1
if err != nil {
break loop
}
} else {
numDeletePostingsRead += 1
}
prevUid = mp.Uid
if err = pitr.next(); err != nil {
Expand Down Expand Up @@ -1208,9 +1226,15 @@ func (l *List) Uids(opt ListOptions) (*pb.List, error) {

// Do The intersection here as it's optimized.
out.Uids = res
lenBefore := len(res)
if opt.Intersect != nil {
algo.IntersectWith(out, opt.Intersect, out)
}
lenAfter := len(out.Uids)
if lenBefore-lenAfter > 0 {
glog.V(3).Infof("Retrieved a list. length before intersection: %d, length after: %d, extra"+
" elements: %d", lenBefore, lenAfter, lenBefore-lenAfter)
}
return out, nil
}

Expand Down
1 change: 1 addition & 0 deletions systest/backup/encryption/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ var (
)

func TestBackupMinioE(t *testing.T) {
t.Skip()
backupDst = "minio://minio:9001/dgraph-backup?secure=false"
addr := testutil.ContainerAddr("minio", 9001)
localBackupDst = "minio://" + addr + "/dgraph-backup?secure=false"
Expand Down
4 changes: 2 additions & 2 deletions tlstest/acl/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
source: ../mtls_internal/tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--acl "secret-file=/dgraph-acl/hmac-secret;"
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha1.crt; client-key=/dgraph-tls/client.alpha1.key; client-auth-type=VERIFYIFGIVEN;"
Expand All @@ -42,6 +42,6 @@ services:
source: ../mtls_internal/tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero1.crt; client-key=/dgraph-tls/client.zero1.key;"
volumes: {}
14 changes: 13 additions & 1 deletion tlstest/certrequest/certrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ package certrequest
import (
"context"
"fmt"
"strings"
"testing"
"time"

"github.com/spf13/viper"
"github.com/stretchr/testify/require"
Expand All @@ -32,7 +34,17 @@ func TestAccessWithCaCert(t *testing.T) {

dg, err := testutil.DgraphClientWithCerts(testutil.SockAddr, conf)
require.NoError(t, err, "Unable to get dgraph client: %v", err)
require.NoError(t, dg.Alter(context.Background(), &api.Operation{DropAll: true}))
for i := 0; i < 20; i++ {
err := dg.Alter(context.Background(), &api.Operation{DropAll: true})
if err == nil {
break
}
if strings.Contains(err.Error(), "first record does not look like a TLS handshake") {
// this is a transient error that happens when the server is still starting up
time.Sleep(time.Second)
continue
}
}
}

func TestCurlAccessWithCaCert(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions tlstest/certrequest/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
source: ../tls
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; client-auth-type=REQUEST; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key;"
zero1:
Expand All @@ -35,5 +35,5 @@ services:
source: $GOPATH/bin
target: /gobin
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
volumes: {}
4 changes: 2 additions & 2 deletions tlstest/certrequireandverify/certrequireandverify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestCurlAccessWithoutClientCert(t *testing.T) {
}
testutil.VerifyCurlCmd(t, curlArgs, &testutil.CurlFailureConfig{
ShouldFail: true,
CurlErrMsg: "alert bad certificate",
CurlErrMsg: "alert",
})
}

Expand Down Expand Up @@ -137,5 +137,5 @@ func TestGQLAdminHealthWithoutClientCert(t *testing.T) {
req.Header.Set("Content-Type", "application/json")

_, err = client.Do(req)
require.Contains(t, err.Error(), "remote error: tls: bad certificate")
require.Contains(t, err.Error(), "remote error: tls")
}
4 changes: 2 additions & 2 deletions tlstest/certrequireandverify/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
source: ../tls
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; client-auth-type=REQUIREANDVERIFY; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key;"
zero1:
Expand All @@ -35,5 +35,5 @@ services:
source: $GOPATH/bin
target: /gobin
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
volumes: {}
4 changes: 2 additions & 2 deletions tlstest/certverifyifgiven/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
source: ../tls
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; client-auth-type=VERIFYIFGIVEN; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key;"
zero1:
Expand All @@ -35,5 +35,5 @@ services:
source: $GOPATH/bin
target: /gobin
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
volumes: {}
12 changes: 6 additions & 6 deletions tlstest/mtls_internal/ha_6_node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
source: ../tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha1.crt; client-key=/dgraph-tls/client.alpha1.key;"
alpha2:
Expand All @@ -37,7 +37,7 @@ services:
source: ../tls/alpha2
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha2.crt; client-key=/dgraph-tls/client.alpha2.key;"
alpha3:
Expand All @@ -57,7 +57,7 @@ services:
source: ../tls/alpha3
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha3.crt; client-key=/dgraph-tls/client.alpha3.key;"
zero1:
Expand All @@ -77,7 +77,7 @@ services:
source: ../tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --replicas 3 --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --replicas 3 --my=zero1:5080 --logtostderr -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero1.crt; client-key=/dgraph-tls/client.zero1.key;"
zero2:
image: dgraph/dgraph:local
Expand All @@ -96,7 +96,7 @@ services:
source: ../tls/zero2
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=2;" --replicas 3 --my=zero2:5080 --logtostderr --peer zero1:5080 -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=2;" --replicas 3 --my=zero2:5080 --logtostderr --peer zero1:5080 -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero2.crt; client-key=/dgraph-tls/client.zero2.key;"
zero3:
image: dgraph/dgraph:local
Expand All @@ -115,6 +115,6 @@ services:
source: ../tls/zero3
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=3;" --replicas 3 --my=zero3:5080 --logtostderr --peer zero1:5080 -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=3;" --replicas 3 --my=zero3:5080 --logtostderr --peer zero1:5080 -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero3.crt; client-key=/dgraph-tls/client.zero3.key;"
volumes: {}
8 changes: 4 additions & 4 deletions tlstest/mtls_internal/multi_group/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
source: ../tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha1.crt; client-key=/dgraph-tls/client.alpha1.key;"
alpha2:
Expand All @@ -37,7 +37,7 @@ services:
source: ../tls/alpha2
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha2.crt; client-key=/dgraph-tls/client.alpha2.key;"
alpha3:
Expand All @@ -57,7 +57,7 @@ services:
source: ../tls/alpha3
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha3.crt; client-key=/dgraph-tls/client.alpha3.key;"
zero1:
Expand All @@ -77,6 +77,6 @@ services:
source: ../tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero1.crt; client-key=/dgraph-tls/client.zero1.key;"
volumes: {}
4 changes: 2 additions & 2 deletions tlstest/mtls_internal/single_node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
source: ../tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false; sentry=false;" --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha1.crt; client-key=/dgraph-tls/client.alpha1.key;"
zero1:
Expand All @@ -37,6 +37,6 @@ services:
source: ../tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false; sentry=false;" --raft "idx=1;" --my=zero1:5080 --logtostderr -v=2 --bindall
--tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero1.crt; client-key=/dgraph-tls/client.zero1.key;"
volumes: {}
38 changes: 18 additions & 20 deletions tlstest/mtls_internal/tls/alpha1/client.alpha1.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
-----BEGIN CERTIFICATE-----
MIIDoTCCAomgAwIBAgIUZ5KX/PG4T1IdcXFTNIE4NHsynPYwDQYJKoZIhvcNAQEL
BQAwRjEaMBgGA1UEChMRRGdyYXBoIExhYnMsIEluYy4xFzAVBgNVBAMTDkRncmFw
aCBSb290IENBMQ8wDQYDVQQFEwY2OGI2M2YwHhcNMjIwOTE2MjE0NzE3WhcNMjMw
OTE2MjE0NzE3WjAZMRcwFQYDVQQDDA5EZ3JhcGggUm9vdCBDQTCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBAMXmk4xCtVfwxqYwdfOUYU3bHoRmMzmNWxBU
uw8ztf67y8HHNVyKXW6l0AqlxssfOjEiq0gE+U0RUpjOzJnvvhi2YEtwcM9mXrgi
vd7M+AJlUGCjhUJbzbaEU3+XsUCQY+R76pvad7vNSdMAM+9bivWEj4A76H2OBsTA
qJ8ZAvCThpofUTbkVDQDo39u95oYBGEc7dFMZ+H7kUTAzvU7hhQJ/IGdNkGvERN8
QAhQdHYPAnmWbk7ClLVtJFrqYXbOdCpMZ13DnyFIZg4kyoYAPuF5xcatG/dLMxbv
Pi/lsswtWWzyoxNIbkXO/g9nV3tgvt+yLkFgH0CAcrF82SsnPPECAwEAAaOBszCB
sDAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcD
AjAdBgNVHQ4EFgQUNRAV4RX3uVWtkdrBvc8nrbMWQJkwXwYDVR0jBFgwVqFKpEgw
RjEaMBgGA1UEChMRRGdyYXBoIExhYnMsIEluYy4xFzAVBgNVBAMTDkRncmFwaCBS
b290IENBMQ8wDQYDVQQFEwY2OGI2M2aCCGi2Pw9Iy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