Report a Dgraph Bug
After triggering backup mutation, backup was created, but no manifest.json was produced. Unable to do restore.
What version of Dgraph are you using?
- commit
32f1f5893
(release/v21.03
)
Have you tried reproducing the issue with the latest release?
n/a
What is the hardware spec (RAM, OS)?
- Ubuntu 20.04 from docker image
Steps to reproduce the issue (command/config used to run Dgraph).
- Using pre-release helm chart:
cd git clone https://github.com/dgraph-io/charts.git && cd charts git checkout joaquin/release-updates
- Deploy 6 node cluster, e.g.
helm install test --values my-values.yaml ~/charts/charts/dgraph/
:# my-values.yaml image: repository: darknerd/dgraph tag: v21.03 ratel: enabled: false alpha: acl: enabled: true file: hmac_secret_file: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI= extraEnvs: - name: DGRAPH_ALPHA_SECURITY value: whitelist=10.0.0.0/8,172.0.0.0/8,192.168.0.0/16 - name: DGRAPH_ALPHA_ACL value: secret-file=/dgraph/acl/hmac_secret_file backups: full: enabled: true schedule: "0 0 * * *" incremental: enabled: true schedule: "0 1-23 * * *" admin: user: groot password: password destination: s3://s3.us-east-2.amazonaws.com/dgraph-dev-backups/bugbuster/backups keys: s3: access: REDACTED secret: REDACTED
- Create 2 tenants
mutation { addNamespace (input: { password: "password" } ) { namespaceId message } }
- liveload 21million.rdf to two tenants
- trigger backup mutation to s3 bucket
mutation { backup(input: { destination: "s3://s3.us-east-2.amazonaws.com/dgraph-dev-backups/jira" forceFull: true }) { response { message code } } }
Expected behaviour and actual result.
Expected
Successful backup
Actual
In the bucket path, only have dgraph.20210402.232842.355/r85000-g1.backup
, but no manifest.json
.