Skip to content
This repository was archived by the owner on Mar 29, 2025. It is now read-only.

docs(fix): Fix variable names in dgraph-zero.md #200

Merged
merged 1 commit into from
May 7, 2021
Merged
Changes from all 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
14 changes: 7 additions & 7 deletions content/deploy/dgraph-zero.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ nodes returned from the `/state` endpoint:
"forceGroupId": false
}
},
"maxLeaseId": "10000",
"maxUID": "10000",
"maxTxnTs": "10000",
"maxRaftId": "3",
"removed": [],
Expand All @@ -240,18 +240,18 @@ shown with their node name and HTTP port number:
- zero1:5080, id: 1, leader
- zero2:5082, id: 2
- zero3:5083, id: 3
- maxLeaseId
- `maxUID`
- The current maximum lease of UIDs used for blank node UID assignment.
- This increments in batches of 10,000 IDs. Once the maximum lease is
reached, another 10,000 IDs are leased. In the event that the Zero
leader is lost, the new leader starts a new lease from
`maxLeaseId`+1. Any UIDs lost between these leases will never be used
`maxUID`+1. Any UIDs lost between these leases will never be used
for blank-node UID assignment.
- An admin can use the Zero endpoint HTTP GET `/assign?what=uids&num=1000` to
reserve a range of UIDs (in this case, 1000) to use externally. Zero will
**never** use these UIDs for blank node UID assignment, so the user can
use the range to assign UIDs manually to their own data sets.
- maxTxnTs
- `maxTxnTs`
- The current maximum lease of transaction timestamps used to hand out
start timestamps and commit timestamps. This increments in batches of
10,000 IDs. After the max lease is reached, another 10,000 IDs are
Expand All @@ -263,16 +263,16 @@ shown with their node name and HTTP port number:
timestamp (in this case, by 1000). This is mainly useful in
special-case scenarios; for example, using an existing `-p directory` to
create a fresh cluster to be able to query the latest data in the DB.
- maxRaftId
- `maxRaftId`
- The number of Zeros available to serve as a leader node. Used by the
[RAFT](/design-concepts/raft/) consensus algorithm.
- CID
- `CID`
- This is a unique UUID representing the *cluster-ID* for this cluster. It
is generated during the initial DB startup and is retained across
restarts.
- Enterprise license
- Enabled
- maxNodes: unlimited
- `maxNodes`: unlimited
- License expiration, shown in seconds since the Unix epoch.

{{% notice "note" %}}
Expand Down