[BUG]: When build oss degraph alpha exit with error : flags: acl / encryption is an enterprise-only feature
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 21.8k
- Forks
- 1.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 9
Description
What version of Dgraph are you using?
v23.1.0-33-g283fe639d-oss
Tell us a little more about your go-environment?
go version go1.19.8 linux/amd64
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, CPU, OS)?
RAM : 3Go
CPU: Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
Debian Stable
Linux version 6.1.0-13-amd64 (debian-kernel@lists.debian.org) (gcc-
12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMP
T_DYNAMIC Debian 6.1.55-1 (2023-09-29)
What steps will reproduce the bug?
dgraph alpha -v2
Expected behavior and actual result.
expect Launch of alpha node but exit on error
Additional information
in ee/keys.go GetKeys return always an error
in dgraph/cmd/alpha/run.go line 657 the err is send to x.Chek which exit directly
May be is an error to call ee.GetKeys in oss context or onlyr return error in ee/keys.go il flag --acl is set
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with dgraph alpha -v2, then inspect ee/keys.go and dgraph/cmd/alpha/run.go around line 657. Determine how the OSS build should handle GetKeys and enterprise-only ACL/encryption flags; done means the OSS alpha starts without this error, with relevant behavior covered by tests if the existing test structure identifies a suitable location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100