Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
728 commits
Select commit Hold shift + click to select a range
2949f56
fixing sys backup test
aman-bansal Mar 25, 2021
0f1ee1e
return if no uids exist in queries for Geo (#7651)
NamanJain8 Mar 25, 2021
72eed78
chore(deps): bump pyyaml from 5.3.1 to 5.4 in /contrib/embargo (#7655)
dependabot[bot] Mar 26, 2021
62e05ba
chore(deps): bump pyyaml in /contrib/config/marketplace/aws/tests (#7…
dependabot[bot] Mar 26, 2021
098ac8e
chore(deps): bump rsa in /contrib/config/marketplace/aws/tests (#7648)
dependabot[bot] Mar 26, 2021
d05980c
Chore(vault) - Update with instructions for cidr_bound_list (#7661)
darkn3rd Mar 28, 2021
98f6828
Perf(restore): Implement map-reduce based restore (#7664)
ahsanbarkati Mar 29, 2021
1c7d449
[BREAKING] Opt(Restore): Optimize Restore's new map-reduce based desi…
manishrjain Mar 30, 2021
711e955
fix(DGRAPH): fix @normalize response when multiple fields at differen…
JatinDev543 Mar 30, 2021
b5be8ce
Fix s3 backup copy (#7669)
ahsanbarkati Mar 30, 2021
07be3c9
feat(GraphQL): Zero HTTP endpoints are now available at GraphQL admin…
abhimanyusinghgaur Mar 31, 2021
71686fd
chore(deps): bump pygments from 2.6.1 to 2.7.4 in /contrib/embargo (#…
dependabot[bot] Apr 1, 2021
1df37a9
chore(compose) - update run.sh wrapper script (#7676)
darkn3rd Apr 1, 2021
93bfaad
Opt(Backup): Make backups faster (#7680)
manishrjain Apr 1, 2021
9702095
fix(run.sh): Add a needed quote to make run.sh work.
manishrjain Apr 2, 2021
1169d2e
Move UriHandler code out to x package (#7684)
manishrjain Apr 5, 2021
88b9a77
feat(GRAPHQL): Add language tag support in GraphQL (#7663)
JatinDev543 Apr 6, 2021
ef382b1
picking up changelog from 20.11 to master (#7697)
aman-bansal Apr 7, 2021
d174d7a
fix(export): use UriHandler for exports (#7690)
ajeetdsouza Apr 8, 2021
c48623d
Improve IsDir and IsFile (#7704)
ajeetdsouza Apr 8, 2021
17f7e90
Chore(GraphQL): Minor refactoring of mutation_rewriter.go (#7653)
vmrajas Mar 26, 2021
5bc5c26
Fix(GraphQL): Fix Execution Trace for Add and Update Mutations (#7656)
vmrajas Mar 26, 2021
f1f26cb
Use Vault without secret ID (#7642)
ajeetdsouza Mar 27, 2021
91d8f4e
fix(zero): add a ratelimiter to limit the uid lease per namespace (#7…
NamanJain8 Mar 30, 2021
bdfce25
fix(postingList): Acquire lock before reading the cached posting list…
Mar 30, 2021
fbd54f3
fix(query): Fix pagination with match functions (#7668)
ahsanbarkati Mar 31, 2021
cc612a7
chore(logging): clean logs from error messages due to noop log (#7667)
NamanJain8 Mar 31, 2021
48a8bd4
fix(Query): [Breaking] Return error for illegal math operations. (#7631)
rohanprasad Mar 31, 2021
26faedc
fix(upgrade): make upgrade tool to work with non-acl cluster (#7674)
NamanJain8 Apr 1, 2021
eda10f7
fix(flag): fix bulk loader flag and remove flag parsing from critical…
NamanJain8 Apr 1, 2021
9b945b3
feat(Flags): [Breaking] Add flag for snapshot duration frequency (#7675)
rohanprasad Apr 1, 2021
450b600
[BREAKING] fix(commit): make txn context more robust (#7659)
NamanJain8 Apr 1, 2021
31bea90
feat(flags): [Breaking] Add cache superflag for alpha (#7652)
rohanprasad Apr 1, 2021
5a89c8f
updating go mod to have latest dgo version
aman-bansal Apr 8, 2021
25ee7c0
[BREAKING] chore(flags): move encryption_key_file and 2 other flags u…
NamanJain8 Apr 5, 2021
edf4f0a
[BREAKING] feat(flags): expand badger to accept all valid options (#7…
NamanJain8 Apr 6, 2021
c35b974
chore: update dgo module from v200 to v210 (#7702)
NamanJain8 Apr 7, 2021
91c4967
fix(vault): Hide ACL flags when not required (#7701)
ajeetdsouza Apr 8, 2021
ceadb6d
fix(GraphQL): fix @cascade with Pagination for @auth queries. (#7695)
minhaj-shakeel Apr 9, 2021
f05f1a6
Convert numbers correctly in SuperFlags (#7712)
ajeetdsouza Apr 9, 2021
b4a6db5
update embargo environment and instructions (#7707)
darkn3rd Apr 9, 2021
dd6bcb8
[BREAKING] perf(Transactions): Run transactions concurrently (#7694)
manishrjain Apr 10, 2021
96407af
fix(query): Prevent multiple entries for same predicate/type in schem…
rohanprasad Apr 12, 2021
717f17a
opt(predMove): hot tablet move (#7703)
NamanJain8 Apr 12, 2021
c11a607
fix(pagination): Fix after for regexp, match functions (#7700)
rohanprasad Apr 13, 2021
72cebd1
fix(raftwal): take snapshot after restore (#7719)
NamanJain8 Apr 13, 2021
34da5ea
feat(compose): Add setup for CDC with Kafka. (#7720)
danielmai Apr 14, 2021
0376948
chore: Remove sensitive information when logging proposal (#7711)
rohanprasad Apr 14, 2021
dda30dc
chore(compose): Add a flag to specify hostname (#7723)
ahsanbarkati Apr 14, 2021
06d7284
fix(cdc): Show namespace info in event meta (#7721)
Apr 14, 2021
ffd2c58
feat(compose): Allow incoming 100.x.x.x connections.
manishrjain Apr 15, 2021
54d416d
fix(compose): Set the IP address range correctly.
manishrjain Apr 15, 2021
9e8ab99
Fix(GraphQL): Fix GraphQL encoding in case of empty list (#7726)
vmrajas Apr 15, 2021
36139b4
fix(ee): GetKeys should return an error (#7713)
ajeetdsouza Apr 15, 2021
a4d74d4
fix(bulk): throw the error instead of crashing (#7722)
NamanJain8 Apr 15, 2021
3e03bf5
fix(lsbackup): Fix profiler in lsBackup (#7729)
ahsanbarkati Apr 15, 2021
d4c6b7c
fix(lease): prevent ID lease overflow (#7724)
NamanJain8 Apr 15, 2021
b950da0
fixing readme for dgraph after latest release (#7732)
aman-bansal Apr 16, 2021
1743501
Fix(GraphQL): Add filter in DQL query in case of reverse predicate (#…
vmrajas Apr 16, 2021
69c8389
Feat(GraphQL): This PR allows @id field in interface to be unique acr…
JatinDev543 Apr 17, 2021
214c5df
fix(DQL): optimize query for has function with offset. (#7727)
minhaj-shakeel Apr 20, 2021
64b3b85
[BREAKING] fix(usability): make force-namespace flag compulsory in li…
NamanJain8 Apr 20, 2021
3328826
fix(Chunker): don't delete node with empty facet in mutation (#7737)
karlmcguire Apr 20, 2021
ad64c01
fix(live): make live loader progress on a cluster with very high maxU…
NamanJain8 Apr 21, 2021
355eea4
fix(GraphQL): fix auth query rewriting with ID filter (#7740)
minhaj-shakeel Apr 22, 2021
c9345c8
feat(GraphQL): Disallow DQL schema changes for predicates used in Gra…
abhimanyusinghgaur Apr 22, 2021
f896081
chore(test): Remove Ratel from tests and example configs. (#7738)
danielmai Apr 23, 2021
6b447b5
Feat(GRAPHQL): This PR allows updatable and nullable @id fields. (#7736)
JatinDev543 Apr 23, 2021
8b1cfdc
feat: Neo4j CSV to RDF Converter (#7545)
anand-chandrashekar Apr 23, 2021
0b01441
feat(Query): Add random keyword in DQL (#7693)
Samyak2 Apr 25, 2021
eb7dc76
Fix(graphql): Fix error message of lambdaOnMutate directive (#7751)
ahsanbarkati Apr 26, 2021
986b7f6
fix: Prevent proposal from being dropped accidentally (#7741)
Apr 26, 2021
aff03e5
fix(export): Fix facet export of reference type postings to JSON form…
ahsanbarkati Apr 27, 2021
690fbbe
opt(GraphQL): filter existence queries on GraphQL side instead of usi…
NamanJain8 Apr 28, 2021
9e1337b
Update Ristretto to bring in new Buffer and Tree API (#7747)
ajeetdsouza Apr 28, 2021
41eb36f
chore(debug): use z.Histogram in debug tool (#7761)
NamanJain8 Apr 28, 2021
018517b
chore(tests): Add basic test for k-random nodes (#7758)
ahsanbarkati Apr 29, 2021
c4f4964
fix(bulk): upsert guardian/groot for all existing namespaces (#7759)
NamanJain8 Apr 29, 2021
6cb7466
fix typo (#7496)
luis261 Apr 29, 2021
0b33254
feat(DQL): @groupby on scalar fields and count duplicate (#7746)
minhaj-shakeel Apr 30, 2021
8925049
feat(cdc): Add support for SCRAM SASL mechanism (#7765)
ahsanbarkati Apr 30, 2021
07bfbf8
Fix(GraphQL): Make mutation rewriting tests more robust (#7768)
vmrajas Apr 30, 2021
cfdf7a5
feat(Dgraph): Add task queue implementation (#7716)
ajeetdsouza May 3, 2021
6b188f2
Format protos using clang-format (#7773)
ajeetdsouza May 3, 2021
60bec16
fix(Dgraph): Forward task status requests to correct Alpha (#7774)
ajeetdsouza May 5, 2021
1017c4e
opt(txn commits): Optimize txns by passing Skiplists to Badger (#7777)
manishrjain May 5, 2021
5f3cece
feat(cloud): add shared-instance flag in limit superflag in alpha (#7…
NamanJain8 May 5, 2021
c86b855
opt(dropPrefix): allow logical drop for deleting predicates and index…
NamanJain8 May 5, 2021
00a67d5
fix(export-backup): Fix double free in export backup (#7780)
ahsanbarkati May 5, 2021
ae029f0
fix(txn): ensure that txn hash is set (#7782)
NamanJain8 May 5, 2021
d2f1d81
chore(GraphQL): Improvise error logging (#7791)
abhimanyusinghgaur May 7, 2021
fb15243
Replace panic in live loader with errors (#7798)
rohanprasad May 10, 2021
2139c50
feat(multi-tenancy): make drop data namespace aware (#7789) (#7795)
NamanJain8 May 10, 2021
99f4ca3
fix(restore): Bump uid and namespace after restore (#7790)
ahsanbarkati May 11, 2021
5549acd
opt(predMove): iterate Phase I till there is major data to move (#7792)
NamanJain8 May 11, 2021
c058627
fix(lease): don't do rate limiting when not limit is not specified (#…
NamanJain8 May 11, 2021
c49e523
bug fix to permit audit streaming to stdout writer(#7803)
thsubaku9-pro May 11, 2021
9e82009
comments(zero): Add comments in Zero and clarify naming.
manishrjain May 11, 2021
042d35c
fix(GraphQL): Pass on HTTP request headers for subscriptions (#7806)
abhimanyusinghgaur May 11, 2021
6fbca75
Fix(GraphQL): Fix duplicate XID error in case of interface XIDs (#7776)
vmrajas May 11, 2021
d2bd832
Feat(Multi-tenancy): Add namespaces field to state (#7808)
vmrajas May 13, 2021
379e3cb
Fix version name in info (#7818)
vmrajas May 13, 2021
6a1deb4
Don't return error via Go error (#7821)
manishrjain May 13, 2021
af6533e
refactor: LexQuery unit tests #7823
tstreamDOTh May 13, 2021
23facbe
Chore: Give option to use existing p directory (#7735)
humbletree May 18, 2021
e90d7ac
opt(snapshot): optimize snapshot by using sinceTs (#7826)
NamanJain8 May 18, 2021
5489a47
chore(contrib/systemd): Add file descriptors limit. (#7831)
danielmai May 18, 2021
1a92da4
fix(auth): preserve the status code while returning error (#7832)
NamanJain8 May 19, 2021
9557e56
fix(restore): reset the kv.StreamId before sending to stream writer (…
NamanJain8 May 19, 2021
ee382a4
fix(admin): remove exportedFiles field (#7835)
ajeetdsouza May 20, 2021
6550625
Update Raft help flag (#7842)
ajeetdsouza May 21, 2021
df1300f
feat(sroar): Bring sroar to Dgraph (#7840)
ahsanbarkati May 22, 2021
5595f9c
fix(schema-update): Start opIndexing only when index creation is requ…
ahsanbarkati May 24, 2021
ea7fe9f
BREAKING: fix json marshal unmarshal for namespace > 127 (#7810)
NamanJain8 May 13, 2021
6de16a8
add update_manifest tool (#7815)
NamanJain8 May 13, 2021
6f7a6d2
fix(backup): handle manifest version logic, update manifest version t…
NamanJain8 May 17, 2021
16976f3
fix(updatemanifest): update the version of manifest after update (#7828)
NamanJain8 May 18, 2021
651dbd2
fix(restore): update the schema and type from 2103 (#7838)
NamanJain8 May 19, 2021
0c7386f
fix(restore): consider the banned namespaces while bumping (#7839)
NamanJain8 May 20, 2021
b80efb6
chore(tracing): Add ns attribute to doQuery (#7850)
ajeetdsouza May 25, 2021
556d7fa
Feat(Backup): Add native support for backup to Azure. (#7843)
rohanprasad May 25, 2021
3572772
feat(GraphQL): Support auth with custom DQL (#7775)
minhaj-shakeel May 26, 2021
f376a40
feat(schema): do schema versioning and make backup non-blocking for i…
NamanJain8 May 26, 2021
37b2211
fix the predicate move (#7862)
NamanJain8 May 26, 2021
983debd
docs(README): Update product roadmap (#7830)
May 26, 2021
3dfa8df
Feat(Backup): Add native google cloud storage backup support (#7829)
rohanprasad May 26, 2021
467821c
fix(Backup): use validReadTs from manifest for backward compatibility…
NamanJain8 May 27, 2021
57c215f
Merge remote-tracking branch 'origin/master' into naman/master/fix-json
NamanJain8 May 27, 2021
cbd0b21
chore(debug): Print proposal key. (#7857) (#7861)
May 28, 2021
0d82277
opt(snapshot): use full table copy when streaming the entire data (#7…
NamanJain8 May 28, 2021
f67cd9f
Merge branch 'naman/master/fix-json'
NamanJain8 May 28, 2021
15c1d67
compose.go changes
kaushik691 May 31, 2021
f2639d4
updated code
kaushik691 May 31, 2021
4d8bbf9
reverting back
kaushik691 May 31, 2021
c3efa83
Modified compose file
kaushik691 May 31, 2021
7443992
Update compose/compose.go
kaushik691 May 31, 2021
d0dd0ce
Update compose/compose.go
kaushik691 May 31, 2021
143bfb7
Update compose/compose.go
kaushik691 May 31, 2021
b2a4fe2
addressed changes
kaushik691 May 31, 2021
d4770b2
chore(graphql): fixing query timeouts for graphql queries too (#7796)
aman-bansal May 10, 2021
d37babb
Merge pull request #7872 from kaushik691/krishna_changes
kaushik691 Jun 1, 2021
25c9d92
Clarify snapshot rules
manishrjain Jun 1, 2021
3868e8f
cherry-pick: chore(graphql): fixing query timeouts for graphql querie…
ahsanbarkati Jun 2, 2021
624202e
fix(restore): append galaxy namespace to type name (#7880)
NamanJain8 Jun 3, 2021
5ae487f
fix(DQL): revert changes related to cascade pagination with sort (#7885)
minhaj-shakeel Jun 4, 2021
db6a01c
(docs) Update README - remove macOS build references #7685
bucanero Jun 8, 2021
314091a
fix(GraphQL): optimize eq filter queries (#7895)
minhaj-shakeel Jun 10, 2021
3407eb1
opt(query): Use sroar in pb.List (#7864)
ahsanbarkati Jun 16, 2021
d628f2e
fix(sroar): Fix TestAuthWithCustomDQL failure because of roaring bitm…
ahsanbarkati Jun 17, 2021
59fd122
fix(metrics): Expose dgraph_num_backups_failed_total metric view. (#7…
danielmai Jun 17, 2021
eabe363
fix(Raft): Detect network partition when streaming
manishrjain Jun 21, 2021
b8d3487
chore(raft): Log packets message less frequently. (#7910)
danielmai Jun 22, 2021
947a62b
Reconnect via a redial in case of disconnection. (#7918)
manishrjain Jun 22, 2021
4609268
handle extend keyword for Queries and Mutations (#7916)
minhaj-shakeel Jun 23, 2021
6730f10
fix(groot): do not upsert groot for all namespaces on restart (#7917)
NamanJain8 Jun 24, 2021
e7a1931
fix(GraphQL): Nested Auth Rules not working properly. (#7915)
minhaj-shakeel Jun 25, 2021
78af27f
chore(debug): add summary to show LSM tree and namespace size (#7891)…
NamanJain8 Jun 25, 2021
03284fd
fix(cmd/debug): Print banned namespaces correctly. (#7929)
NamanJain8 Jun 25, 2021
8d08cc3
fix(backup): Fix full backup request (#7932)
ahsanbarkati Jun 28, 2021
a06cf2d
fix(restore): Set kv version to restoreTs for rolled up keys and sche…
ahsanbarkati Jun 28, 2021
f8681a2
opt(Alpha): Load schema and types using Stream framework (#7938) (#7940)
NamanJain8 Jul 2, 2021
89b3623
fixed example for --cloud command (#7903)
OmarAyo Jul 13, 2021
7531e95
fix(conn): JoinCluster loop should use latest conn (#7950)
manishrjain Jul 16, 2021
b1266d0
feat(lambda): store lambda scripts within the dgraph, send it to JS s…
NamanJain8 Jul 27, 2021
3831b49
fix(rollups): Write rolled-up keys at ts+1 (#7957) (#7959)
ahsanbarkati Jul 27, 2021
c2e1476
fix(JoinCluster): Avoid retrying JoinCluster indefinitely (#7961)
manishrjain Jul 27, 2021
b41ff1f
fix(pool): use write lock when getting health info (#7963)
NamanJain8 Jul 29, 2021
357d81c
fix(snapshot): update last snapshot time across members (#7968)
NamanJain8 Jul 30, 2021
6df546f
cherry-pick: fix: fixing graphql schema update when the data is resto…
ahsanbarkati Aug 2, 2021
9714cc4
feat(restore): Introduce incremental restore (#7942) (#7971)
ahsanbarkati Aug 2, 2021
f181a70
fix(query): Do not execute filters if there are no source uids (#7962…
ahsanbarkati Aug 2, 2021
ecc001f
fix(sroar): Bring latest sroar to master (#7977)
ahsanbarkati Aug 10, 2021
845e191
contrib: Implement side-by-side comparison tool (#7974)
ahsanbarkati Aug 10, 2021
72265c1
fix(sbs): Print final result only after all workers are done (#7979)
ahsanbarkati Aug 10, 2021
2da78a1
fix(contrib/k8s): allow to deploy to cluster with domain name (#7976)
hongbo-miao Aug 11, 2021
18fd841
fix(acl): filter out the results based on type (#7978) (#7980)
NamanJain8 Aug 12, 2021
3233a70
perf(sroar): Use latest sroar and add histogram in the sbs tool (#7982)
ahsanbarkati Aug 12, 2021
1966245
opt(restore): Sort the buffer before spinning the writeToDisk gorouti…
ahsanbarkati Aug 12, 2021
97d5841
opt(recurse): Optimise recurse and bring range iterators from sroar (…
ahsanbarkati Aug 16, 2021
72bee93
opt(rdf-output): Make RDF output generation concurrent (#7988)
ahsanbarkati Aug 16, 2021
cb2f223
fix(live): quote the xid when doing upsert (#7983)
NamanJain8 Aug 18, 2021
1b75c01
fix(acl): subscribe for the correct predicates (#7992)
NamanJain8 Aug 18, 2021
3504044
feat(acl): allow access to all the predicates using wildcard (#7991)
NamanJain8 Aug 19, 2021
c051c2f
opt(cache): Use Ristretto to store posting lists (#7995)
ahsanbarkati Aug 25, 2021
466982d
opt(codec): return nil instead of a new bitmap (#7997)
ahsanbarkati Aug 25, 2021
12c3ef5
[BREAKING] feat: bring dgraph-lambda to dgraph, alpha launches lambda…
NamanJain8 Aug 25, 2021
652ebe3
fix(graphql): fix type assertion failure in graphql if resolver is no…
NamanJain8 Aug 27, 2021
c4d79ec
Use rank() API from sroar and some cleanup (#8002)
ahsanbarkati Aug 30, 2021
8324c68
feat(rdf-response): Support RDF response via http query request (#8004)
ahsanbarkati Aug 30, 2021
be2103b
refactor parser tests (#7822)
NamanJain8 Aug 30, 2021
20c9a59
fix: add validation of null values with correct order of graphql rule…
aman-bansal Aug 31, 2021
05a3958
fix(lambda): monitor lambda server, fix performance issue, remove lam…
NamanJain8 Sep 1, 2021
a092dc0
opt(sroar): upgrade sroar to use optimised IsEmpty API (#8010)
ahsanbarkati Sep 2, 2021
a515d0d
fix(proposals): Incremental proposal key for zero proposals (#8005)
ahsanbarkati Sep 2, 2021
df03a8a
fix(lambda): fix race condition in lambda server spin up (#8013)
NamanJain8 Sep 3, 2021
db841de
chore(logs): add logs to track dropped proposals (#8012)
NamanJain8 Sep 3, 2021
6737dfd
fix(admin): make config changes to pass through gog middlewares (#8014)
NamanJain8 Sep 8, 2021
e80395a
fix(sbs): handle response error gracefully (#8018)
NamanJain8 Sep 8, 2021
1a4f74a
fix(bulk): quote the schema correctly in bulk loader (#8019)
NamanJain8 Sep 14, 2021
c668fef
feat+fix(lambda): allow access to access jwt in lambda (#8023)
NamanJain8 Sep 15, 2021
36cb252
fix(badger): Upgrade badger to fix deadlock (#8025)
ahsanbarkati Sep 15, 2021
93e31cc
fix(snapshot): Fix snapshot calculation after restore (#8024)
ahsanbarkati Sep 15, 2021
a22d7bd
opt(sroar): Optimise the usage of sroar (#8022)
ahsanbarkati Sep 15, 2021
2977e5f
upgrade(sroar): Use latest sroar (#8028)
ahsanbarkati Sep 15, 2021
d3285b8
fix(lambda): shutdown node processes when alpha gets killed (#8027)
NamanJain8 Sep 16, 2021
59f6e7a
feat(magicNumber): Introduce magic number (#8032)
ahsanbarkati Sep 16, 2021
f6e8779
fix(contrib): Quote strings in backup script. (#8035)
danielmai Sep 16, 2021
0060094
opt(Restore): Make restore map phase faster (#8038)
manishrjain Sep 17, 2021
5ad40d8
fix(probe): do not contend for lock in lazy load (#8037)
NamanJain8 Sep 20, 2021
eaee2db
fix(lambda): make lambda active only after successful start (#8036)
NamanJain8 Sep 20, 2021
3d1b8c5
feat(metrics): Add Badger metrics. (#8034)
danielmai Sep 21, 2021
e6057cf
fix(lambda-logs): extract namespace from body.namespace (#8043)
NamanJain8 Sep 21, 2021
ccca737
fix(restore-test): Make offline restore use separate map directory fo…
ahsanbarkati Sep 22, 2021
3950c8f
chore(restore): Add more logs for restore request (#8050)
ahsanbarkati Sep 23, 2021
3103f0e
perf: Speed up parsing of a huge query with a lot of conditional muta…
Phill240 Sep 23, 2021
9792506
fix: fixing audit logs for websocket connections (#8048)
aman-bansal Sep 24, 2021
78597ac
updating badger to latest version (#8054)
aman-bansal Sep 24, 2021
ebf8bd6
fix(shutdown): wait for pending queries to process on alpha shutdown …
NamanJain8 Sep 28, 2021
cf22bf7
fix(txn): Fix data races in transaction code (#8060)
ahsanbarkati Sep 30, 2021
69b186a
fix(restore): Do not retry restore proposal (#8058)
ahsanbarkati Sep 30, 2021
3592353
fix(split): enable split of posting list with single plist (#8062)
NamanJain8 Sep 30, 2021
898ecd1
Make backup-restore an open source feature (#8067)
ahsanbarkati Oct 2, 2021
d935b8b
opt(schema): Optimize populateSchema() by avoiding repeated lock acqu…
ahsanbarkati Oct 4, 2021
84c4ea2
fix(magic): fix the magic version in bulk loader etc (#8070)
NamanJain8 Oct 4, 2021
4a716ad
contrib(sbs): add support for mutations replay in sbs (#8072)
NamanJain8 Oct 6, 2021
81977e4
fix(lambda): upgrade lambda dependencies to fix vulnerabilities (#8074)
NamanJain8 Oct 8, 2021
3f514fe
fix(fragment): merge the nested fragments fields (#8075)
NamanJain8 Oct 14, 2021
74d833c
fix(sort): Only filter out nodes with positive offsets. (#8077)
danielmai Oct 18, 2021
9c00943
fix(build/standalone): Expose port for Zero's REST API endpoint (#8064)
matthewmcneely Oct 29, 2021
5429202
fix(race): fix multiple race conditions (#8069)
NamanJain8 Nov 8, 2021
0fee18e
test(acl): Test reverse edge access with dgraph.all. (#8093)
danielmai Nov 15, 2021
55fc5b2
chore(deps): update badgerdb to latest to get manifest issue fix (#8094)
iluminae Nov 24, 2021
7e6f813
feat(graphql): adds @default directive for setting default field valu…
dpeek Nov 26, 2021
d523e20
chore(changelog): update changelog for 21.03 (#8095)
NamanJain8 Nov 29, 2021
da9655b
perf(rollup): use NSplit API from sroar to improve rollup performance…
NamanJain8 Nov 30, 2021
3bfd269
feat(cdc): Add superflag to enable TLS without CA or certs. (#7946) (…
danielmai Nov 30, 2021
ebe64f7
fix(restore): return nil if there is error (#7899) (#8098)
NamanJain8 Nov 30, 2021
1667973
cherry: cherry: feat: adding bulk call for alpha to inform zero about…
NamanJain8 Nov 30, 2021
683885a
fix(state): fix hex to uint64 response of list of namespaces (#8091) …
NamanJain8 Nov 30, 2021
da16e22
Don't ban namespace in export_backup (#8099)
ahsanbarkati Nov 30, 2021
4aeb11f
chore(changelog): adding changelog for 21.12 and adding tagname (#8096)
aman-bansal Nov 30, 2021
021e21f
build: Update release.sh. (#8102)
danielmai Nov 30, 2021
26ef562
fix(test): increase pending query limit and max splits (#8104)
NamanJain8 Dec 2, 2021
4fa5c04
fix(deps): update badger to fix race condition with drop operation (#…
NamanJain8 Dec 2, 2021
d62ed5f
updating gqlparser version with race fix (#8106)
aman-bansal Dec 2, 2021
d6dbacb
build: Fix Dgraph version string for master branch. (#8108)
danielmai Dec 6, 2021
85a3dea
chore(issues): Reopen GitHub issues. (#8114)
danielmai Jan 5, 2022
90b8c76
Update dgraph.bib (#8128)
akon-dey Apr 14, 2022
7597cd4
opening up whitelist for local setup with docker-compose (#8139)
skrdgraph Jun 30, 2022
15d3701
fix(ci): CI porting to GitHub actions (#8145)
skrdgraph Jul 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 67 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: CI
on:
push:
tags:
- v*
branches:
- master
- 'release/**'
pull_request:
branches:
- '*'
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Make OSS Build
run: make oss
- name: Make macOS build
run: make GOOS=darwin dgraph
- name: Make Windows Build
run: make GOOS=windows dgraph
- name: Make Linux Build
run: make GOOS=linux dgraph
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
go mod tidy
make regenerate
git diff --exit-code -- .
- name: Run unit tests
run: |
#!/bin/bash
if [ -f go.mod ]; then
export GO111MODULE=on
fi


# Run the Go test script. Or, run test.sh if the Go test script doesn't exist.
if [ -d ./t ]; then
#docker rmi dgraph/dgraph-lambda:latest
export GOPATH=$HOME/go
ls -alrt ~/go || true # TODO: fix later
cd t; go build .
mkdir ~/go || true # TODO: fix later
mkdir ~/go/bin || true # TODO: fix later
cp ~/work/dgraph/dgraph/dgraph ~/go/bin || true # TODO: fix later $GOPATH issue
export GOPATH=~/go
ls -alrt $GOPATH/bin
./t -r
./t --skip tlstest,systest/backup,systest/online-restore,systest/loader || true
else # unwanted
# Stop running containers
docker ps --filter label="cluster=test" --format "{{.Names}}" \
| xargs -r docker stop | sed 's/^/Stopped /'
# Remove all containers
docker ps -a --filter label="cluster=test" --format "{{.Names}}" \
| xargs -r docker rm -f | sed 's/^/Removed /'

./test.sh # this was the older way to run tests
fi
26 changes: 26 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- 'release/**'
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
env:
# prevent OOM
GOGC: 10
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.36
only-new-issues: true
args: --timeout=10m
skip-go-installation: true
24 changes: 0 additions & 24 deletions .github/workflows/main.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
/dgraph-bulk-loader
/osx-docker-gopath

# test
t/test*log

# secrets
compose/hmac_secret_file

# fuzzing output
gql/gql-fuzz.zip
gql/fuzz-data/crashers
Expand Down Expand Up @@ -33,3 +39,4 @@ dgraph.iml
.DS_Store

vendor
.minio.sys
1,529 changes: 1,529 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Copyright 2015-2018 Dgraph Labs, Inc.
```

For release images, follow [Doing a release](#doing-a-release). It creates
Docker images that contains `dgraph`, `dgraph-ratel`, and `badger` commands.
Docker images that contains `dgraph` and `badger` commands.

### Testing

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

BUILD ?= $(shell git rev-parse --short HEAD)
BUILD_CODENAME = unnamed
BUILD_CODENAME = zion
BUILD_DATE ?= $(shell git log -1 --format=%ci)
BUILD_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
BUILD_VERSION ?= $(shell git describe --always --tags)
Expand Down Expand Up @@ -64,7 +64,7 @@ test:

image:
@GOOS=linux $(MAKE) dgraph
@mkdir linux
@mkdir -p linux
@mv ./dgraph/dgraph ./linux/dgraph
@docker build -f contrib/Dockerfile -t dgraph/dgraph:$(subst /,-,${BUILD_BRANCH}) .
@rm -r linux
Expand Down
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@
[![Coverage Status](https://coveralls.io/repos/github/dgraph-io/dgraph/badge.svg?branch=master)](https://coveralls.io/github/dgraph-io/dgraph?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/dgraph-io/dgraph)](https://goreportcard.com/report/github.com/dgraph-io/dgraph)

Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides ACID transactions, consistent replication and linearizable reads. It's built from ground up to perform for
Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides ACID transactions, consistent replication, and linearizable reads. It's built from the ground up to perform for
a rich set of queries. Being a native GraphQL database, it tightly controls how the
data is arranged on disk to optimize for query performance and throughput,
reducing disk seeks and network calls in a cluster.


Dgraph's goal is to provide [Google](https://www.google.com) production level scale and throughput,
with low enough latency to be serving real time user queries, over terabytes of structured data.
with low enough latency to be serving real-time user queries, over terabytes of structured data.
Dgraph supports [GraphQL query syntax](https://dgraph.io/docs/master/query-language/), and responds in [JSON](http://www.json.org/) and [Protocol Buffers](https://developers.google.com/protocol-buffers/) over [GRPC](http://www.grpc.io/) and HTTP.

**Use [Discuss Issues](https://discuss.dgraph.io/c/issues/dgraph/38) for reporting issues about this repository.**

## Status

Dgraph is [at version 20.07.2][rel] and is production ready. Apart from the vast open source community, it is being used in
Dgraph is [at version v21.03.0][rel] and is production-ready. Apart from the vast open source community, it is being used in
production at multiple Fortune 500 companies, and by
[Intuit Katlas](https://github.com/intuit/katlas) and [VMware Purser](https://github.com/vmware/purser).

[rel]: https://github.com/dgraph-io/dgraph/releases
[rel]: https://github.com/dgraph-io/dgraph/releases/tag/v21.03.0

## Quick Install

Expand All @@ -47,14 +47,16 @@ docker pull dgraph/dgraph:latest

If you want to install from source, install Go 1.13+ or later and the following dependencies:

Ubuntu:
### Ubuntu

```bash
sudo apt-get update
sudo apt-get install gcc make
```

Then clone the Dgraph repository and use `make install` to install the Dgraph binary to `$GOPATH/bin`.
### Build and Install

Then clone the Dgraph repository and use `make install` to install the Dgraph binary to `$GOPATH/bin`.

```bash
git clone https://github.com/dgraph-io/dgraph.git
Expand All @@ -72,16 +74,16 @@ presentation videos on [YouTube channel](https://www.youtube.com/channel/UCghE41

## Is Dgraph the right choice for me?

- Do you have more than 10 SQL tables, connected to each other via foreign keys?
- Do you have more than 10 SQL tables connected via foreign keys?
- Do you have sparse data, which doesn't elegantly fit into SQL tables?
- Do you want a simple and flexible schema, which is readable and maintainable
over time?
- Do you care about speed and performance at scale?

If the answers to the above are YES, then Dgraph would be a great fit for your
application. Dgraph provides NoSQL like scalability while providing SQL like
transactions and ability to select, filter and aggregate data points. It
combines that with distributed joins, traversals and graph operations, which
transactions and the ability to select, filter, and aggregate data points. It
combines that with distributed joins, traversals, and graph operations, which
makes it easy to build applications with it.

## Dgraph compared to other graph DBs
Expand All @@ -94,7 +96,7 @@ makes it easy to build applications with it.
| Language | GraphQL inspired | Cypher, Gremlin | Gremlin |
| Protocols | Grpc / HTTP + JSON / RDF | Bolt + Cypher | Websocket / HTTP |
| Transactions | Distributed ACID transactions | Single server ACID transactions | Not typically ACID
| Full Text Search | Native support | Native support | Via External Indexing System |
| Full-Text Search | Native support | Native support | Via External Indexing System |
| Regular Expressions | Native support | Native support | Via External Indexing System |
| Geo Search | Native support | External support only | Via External Indexing System |
| License | Apache 2.0 | GPL v3 | Apache 2.0 |
Expand All @@ -107,9 +109,9 @@ makes it easy to build applications with it.
play.dgraph.io](http://play.dgraph.io/).
- Please see [releases tab](https://github.com/dgraph-io/dgraph/releases) to
find the latest release and corresponding release notes.
- [See the Roadmap](https://discuss.dgraph.io/t/product-roadmap-2020/8479) for list of
- [See the Roadmap](https://discuss.dgraph.io/t/dgraph-product-roadmap-2021/12284) for a list of
working and planned features.
- Read about the latest updates from Dgraph team [on our
- Read about the latest updates from the Dgraph team [on our
blog](https://open.dgraph.io/).
- Watch tech talks on our [YouTube
channel](https://www.youtube.com/channel/UCghE41LR8nkKFlR3IFTRO4w/featured).
Expand All @@ -119,7 +121,7 @@ makes it easy to build applications with it.
- Please see [Contributing to Dgraph](https://github.com/dgraph-io/dgraph/blob/master/CONTRIBUTING.md) for guidelines on contributions.

## Client Libraries
The Dgraph team maintain a number of [officially supported client libraries](https://dgraph.io/docs/clients/). There are also libraries contributed by the community [unofficial client libraries](https://dgraph.io/docs/clients#unofficial-dgraph-clients).
The Dgraph team maintains several [officially supported client libraries](https://dgraph.io/docs/clients/). There are also libraries contributed by the community [unofficial client libraries](https://dgraph.io/docs/clients#unofficial-dgraph-clients).

## Contact
- Please use [discuss.dgraph.io](https://discuss.dgraph.io) for documentation, questions, feature requests and discussions.
Expand Down
48 changes: 0 additions & 48 deletions algo/heap.go

This file was deleted.

60 changes: 0 additions & 60 deletions algo/heap_test.go

This file was deleted.

Loading