-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
chore: Merge release/v20.07 to release/v20.07-slash #6740
chore: Merge release/v20.07 to release/v20.07-slash #6740
Commits on Aug 19, 2020
-
fix(docs): fix URL paths and make deploy page to not show blank page (#…
Configuration menu - View commit details
-
Copy full SHA for 6461a8b - Browse repository at this point
Copy the full SHA 6461a8bView commit details
Commits on Aug 20, 2020
-
feat(docs): Port GraphQL docs to v20.07 (#6202)
* Port GraphQL docs to v20.07 This reverts commit 8db61a3. Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7a40b25 - Browse repository at this point
Copy the full SHA 7a40b25View commit details -
doc: Setting the canonical path to each docs without version (#6249)
Passing a few variables to the hugo theme
Configuration menu - View commit details
-
Copy full SHA for e8813c6 - Browse repository at this point
Copy the full SHA e8813c6View commit details
Commits on Aug 21, 2020
-
fix: remove unnecessary curly braces from doc (#6256)
Co-authored-by: Sankalan Parajuli <sankalan.13@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4022128 - Browse repository at this point
Copy the full SHA 4022128View commit details
Commits on Aug 24, 2020
-
fix(Dgraph): Stop forcing RAM mode for the write-ahead log. (#6142) (#…
Configuration menu - View commit details
-
Copy full SHA for 6ba1b55 - Browse repository at this point
Copy the full SHA 6ba1b55View commit details
Commits on Aug 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ae35150 - Browse repository at this point
Copy the full SHA ae35150View commit details
Commits on Aug 26, 2020
-
Fix(Dgraph): Fix how visited nodes are detected in recurse queries. (#…
…6272) (#6276) Currently a node is marked as visited if it's been visited before AND has been visited from the same source UID. In dense graphs, the second condition leads to exponential growth of the data and to other issues such as responses that are too big to encode. Removing this condition fixes the issue. Fixed tests and verified the new output makes sense. Fixes DGRAPH-2337 (cherry picked from commit 3638c12)
Configuration menu - View commit details
-
Copy full SHA for 9df9f92 - Browse repository at this point
Copy the full SHA 9df9f92View commit details
Commits on Aug 27, 2020
-
fix panicwrap parent check (#6264) (#6299)
(cherry picked from commit 52e136f)
parasssh authoredAug 27, 2020 Configuration menu - View commit details
-
Copy full SHA for f609895 - Browse repository at this point
Copy the full SHA f609895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18867ab - Browse repository at this point
Copy the full SHA 18867abView commit details
Commits on Aug 28, 2020
-
fix(Dgraph): Sort manifests by BackupNum in file handler. (#6263) (#6279
) This was being done in the S3 handler but not in the file handler. By default the paths are sorted by the filename but sorting by backup number is more robust. (cherry picked from commit df63d6c)
Configuration menu - View commit details
-
Copy full SHA for 7b91391 - Browse repository at this point
Copy the full SHA 7b91391View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6618758 - Browse repository at this point
Copy the full SHA 6618758View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb04d17 - Browse repository at this point
Copy the full SHA eb04d17View commit details
Commits on Aug 29, 2020
-
fix(Dgraph): Don't store start_ts in postings. (#6213)
Clear out the start_ts field in the postings of deltas before they are marshalled to avoid storing that field in disk. This field is only meant to be used during in-memory processing. Related to https://discuss.dgraph.io/t/start-ts-not-being-cleared-before-postings-are-written-to-disk/9146 (cherry picked from commit fbbd731)
Configuration menu - View commit details
-
Copy full SHA for ca2764b - Browse repository at this point
Copy the full SHA ca2764bView commit details
Commits on Aug 31, 2020
-
docs: add info about __typename in custom DQL (#6248) (#6273)
Reference: [Discuss Post](https://discuss.dgraph.io/t/custom-dql-typename-bug-strange-behaviour/9341) (cherry picked from commit 0faae40)
Configuration menu - View commit details
-
Copy full SHA for b834fd0 - Browse repository at this point
Copy the full SHA b834fd0View commit details -
fix(GraphQL): fixes unexpected fragment behaviour (#6228) (#6274)
Fixes: #5516 Fixes: [Discuss Issue](https://discuss.dgraph.io/t/graphql-fragments-generates-unexpected-behaviour/7470) (cherry picked from commit dcce8bf)
Configuration menu - View commit details
-
Copy full SHA for 60b64cc - Browse repository at this point
Copy the full SHA 60b64ccView commit details -
fix(task): Return error on closed DB (#6075) (#6320)
Fixes DGRAPH-2181 The queries in dgraph are processed in separate goroutines. The pstore badger DB could be closed while the query was being processed. This causes panics such as ``` panic: runtime error: invalid memory address or nil pointer dereference panic: Unclosed iterator at time of Txn.Discard. [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x11d2311] goroutine 19298 [running]: github.com/dgraph-io/badger/v2.(*Txn).Discard(0xc05586bc20) /go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-rc1.0.20200718033852-37ee16d8ad1c/txn.go:517 +0xc1 panic(0x19e26a0, 0x2988560) /usr/local/go/src/runtime/panic.go:969 +0x166 github.com/dgraph-io/badger/v2/skl.(*Skiplist).IncrRef(...) ``` This PR attempts to reduce the number of such crashes. This PR doesn't fix the actual issue but it tries to reduce the probability of such crashes by checking if badger is not closed before accessing it. An ideal fix would be to stop all the goroutines started by dgraph while closing DB so that we don't try to read from a closed badger DB. (cherry picked from commit 3cea0fe)
Ibrahim Jarif authoredAug 31, 2020 Configuration menu - View commit details
-
Copy full SHA for e857ad2 - Browse repository at this point
Copy the full SHA e857ad2View commit details -
fix(Dgraph): make backups cancel other tasks (#6152) (#6243)
Backups should be added to the list of tasks (rollups, snapshots, etc) that are managed by Dgraph so that rollups and other tasks are paused during the backup. (cherry picked from commit ea15b66)
Configuration menu - View commit details
-
Copy full SHA for b4db809 - Browse repository at this point
Copy the full SHA b4db809View commit details -
Update badger to v2.2007.2 (#6294)
This badger update brings the following changes from badger. https://github.com/dgraph-io/badger/commits/b41e77a Fix(cleanup): Avoid truncating in value.Open on error https://github.com/dgraph-io/badger/commits/a0d4903 fix(cleanup): Do not close cache before compaction
Ibrahim Jarif authoredAug 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 99ed46b - Browse repository at this point
Copy the full SHA 99ed46bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 694d080 - Browse repository at this point
Copy the full SHA 694d080View commit details -
fix: Online Restore honors credentials passed in (#6295) (#6302)
(cherry picked from commit a8a6e85) Co-authored-by: Tejas Dinkar <tejas@gja.in>
Configuration menu - View commit details
-
Copy full SHA for 1692cdb - Browse repository at this point
Copy the full SHA 1692cdbView commit details
Commits on Sep 1, 2020
-
(release/v20.07) Fix(Dgraph): Add a lock to backups to process one re…
Configuration menu - View commit details
-
Copy full SHA for a199d06 - Browse repository at this point
Copy the full SHA a199d06View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f26a8 - Browse repository at this point
Copy the full SHA c7f26a8View commit details -
proto fix needed for PR #6331 (#6337) (#6346)
(cherry picked from commit 844f34d)
parasssh authoredSep 1, 2020 Configuration menu - View commit details
-
Copy full SHA for f05ec9f - Browse repository at this point
Copy the full SHA f05ec9fView commit details -
chore(GraphQL): remove skipped tests (#6078) (#6347)
Fixes DGRAPH-2357. Fixes GRAPHQL-562. (cherry picked from commit 91e28d5)
Configuration menu - View commit details
-
Copy full SHA for 6dcac35 - Browse repository at this point
Copy the full SHA 6dcac35View commit details -
test: add --build option for docker-compose up in test script (#6348) (…
Configuration menu - View commit details
-
Copy full SHA for 71bb474 - Browse repository at this point
Copy the full SHA 71bb474View commit details -
cherry-pick v20.07: fix(GraphQL): incorrect generatedSchema in update…
…GQLSchema (#6349) (#6354) * fix(GraphQL): incorrect generatedSchema in updateGQLSchema (#6349) This PR fixes the behaviour where Dgraph schema was being given as generatedSchema field in updateGQLSchema request. Now, the newly generated complete GraphQL schema is given as generatedSchema. (cherry picked from commit 0b8681c) # Conflicts: # graphql/e2e/schema/schema_test.go
Configuration menu - View commit details
-
Copy full SHA for 110c041 - Browse repository at this point
Copy the full SHA 110c041View commit details -
Configuration menu - View commit details
-
Copy full SHA for d13857f - Browse repository at this point
Copy the full SHA d13857fView commit details
Commits on Sep 2, 2020
-
fix(dgraph): sentry nil pointer check (#6372) (#6374)
(cherry picked from commit 7857fa2)
parasssh authoredSep 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 697a7db - Browse repository at this point
Copy the full SHA 697a7dbView commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 83fe9f6 - Browse repository at this point
Copy the full SHA 83fe9f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for deae967 - Browse repository at this point
Copy the full SHA deae967View commit details -
chore(Docs): Update graph-links.md to remove a duplicate word. (#6378)
remove duplicate word "doesn't" from description of two-way edges.
Configuration menu - View commit details
-
Copy full SHA for abec436 - Browse repository at this point
Copy the full SHA abec436View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ea8e3 - Browse repository at this point
Copy the full SHA f5ea8e3View commit details
Commits on Sep 4, 2020
-
Use z.Closer instead of y.Closer (#6394) (#6399)
The closer type was moved from badger/y to ristretto/z in dgraph-io/ristretto#191 (cherry picked from commit 0287838)
Ibrahim Jarif authoredSep 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 710b4c9 - Browse repository at this point
Copy the full SHA 710b4c9View commit details -
(release/v20.07) docs: Add section on automating backups. (#6405)
(cherry picked from commit 0fab710)
Configuration menu - View commit details
-
Copy full SHA for 18cc5f9 - Browse repository at this point
Copy the full SHA 18cc5f9View commit details -
relase/v20.07 - Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313) (#…
…6402) * Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313) This PR removes the usage of context.Background() in groups.go and ensures that all the various goroutines exit as intended. Changes: * Shutdown SubscribeForUpdates correctly. * Fix up all the closing conditions. * Consolidate updaters into one closer * Update Badger to master * fix(build): Update ResetAcl args for OSS build. * chore: Remove TODO comment. Co-authored-by: Daniel Mai <daniel@dgraph.io> (cherry picked from commit f1941b3)
Ibrahim Jarif authoredSep 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 88994d0 - Browse repository at this point
Copy the full SHA 88994d0View commit details -
fix(shutdown): Force exit if CTRL-C is caught before initialization (#…
…6359) (#6407) Forcefully kill alpha if CTRL-C is caught before node initialization completes. Fixes DGRAPH-2377 Co-authored-by: Manish R Jain <manish@dgraph.io> (cherry picked from commit 41c2052)
Ibrahim Jarif authoredSep 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 58fb41b - Browse repository at this point
Copy the full SHA 58fb41bView commit details
Commits on Sep 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d9da285 - Browse repository at this point
Copy the full SHA d9da285View commit details
Commits on Sep 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1b01778 - Browse repository at this point
Copy the full SHA 1b01778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc9dd8 - Browse repository at this point
Copy the full SHA 9fc9dd8View commit details -
docs: add whitelisting issue error in troubleshoot page to help the c…
…ommunity. (#6422) Fixes DGRAPH-2317. Issue is with v20.07 we restrict the admin operations from alpha instances only. But this hasn't been mentioned during the deployment process in any examples. Hence community is running into issues like Unauthorized IP address X.X.X.X. This doc addition in troubleshoot page will help the community members if they run into this issue.
aman bansal authoredSep 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 7d6e3f1 - Browse repository at this point
Copy the full SHA 7d6e3f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e179c1 - Browse repository at this point
Copy the full SHA 1e179c1View commit details
Commits on Sep 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9c8c994 - Browse repository at this point
Copy the full SHA 9c8c994View commit details
Commits on Sep 17, 2020
-
Changelog and Codename (#6488)
parasssh authoredSep 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 5e5a530 - Browse repository at this point
Copy the full SHA 5e5a530View commit details -
The different generated proto file makes the release.sh script fail with "Generated protos different in release." Changes * Called "make regenerate"
Configuration menu - View commit details
-
Copy full SHA for d7123d9 - Browse repository at this point
Copy the full SHA d7123d9View commit details
Commits on Sep 18, 2020
-
fix(GraphQL): fix introspection completion bug (#6385) (#6389)
Fixes GRAPHQL-673. This PR fixes the issue where introspection queries would break if there were two types implementing same interface and having fields with same name in those two types and that repeating field is also a field in introspection query. This was introduced after #6228. (cherry picked from commit 243a336)
Configuration menu - View commit details
-
Copy full SHA for 23d72a8 - Browse repository at this point
Copy the full SHA 23d72a8View commit details -
fix(GraphQL): don't generate orderable enum value for list fields (#6392
) (#6413) Fixes GRAPHQL-650. For this user schema: ``` type Starship { id: ID! name: String! @search(by: [term]) length: Int64 tags: [String] createdAt: DateTime } ``` we were generating complete GraphQL schema with StarshipOrderable as: ``` enum StarshipOrderable { name length tags createdAt } ``` that would cause a DQL query to be formed which errors out, see this GraphQL query: ``` query { queryStarship(order: {asc: tags}) { id name length tags } } ``` It gives back: ``` { "errors": [ { "message": "Dgraph query failed because Dgraph execution failed because : Sorting not supported on attr: Starship.tags of type: [scalar]" } ], "data": { "queryStarship": [] } } ``` which means we should not allow even list of scalar along with object types in orderable. Only scalar field should be allowed in orderable. So, the correct orderable should be without tags field: ``` enum StarshipOrderable { name length createdAt } ``` This PR fixes the above bug. (cherry picked from commit dc66617)
Configuration menu - View commit details
-
Copy full SHA for 1e81ff6 - Browse repository at this point
Copy the full SHA 1e81ff6View commit details -
feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) (
Configuration menu - View commit details
-
Copy full SHA for cf876b6 - Browse repository at this point
Copy the full SHA cf876b6View commit details -
docs: Update list documentation (#6455) (#6461)
Fixes GRAPHQL-657 Fixes [Discuss Issue](https://discuss.dgraph.io/t/documentation-that-arrays-work-as-a-set-not-storing-duplicates/9590) (cherry picked from commit 07cff6f)
Configuration menu - View commit details
-
Copy full SHA for 88cc572 - Browse repository at this point
Copy the full SHA 88cc572View commit details -
cherry-pick v20.07: fix(GraphQL): Generate correct schema when no ord…
Configuration menu - View commit details
-
Copy full SHA for fcbecc1 - Browse repository at this point
Copy the full SHA fcbecc1View commit details -
(release/v20.07) test: retry getting client in TestNodes. (#6482)
(cherry picked from commit 512c69b)
Configuration menu - View commit details
-
Copy full SHA for 618ae3d - Browse repository at this point
Copy the full SHA 618ae3dView commit details -
(release/v20.07) fix(Dgraph): fix bug when deleting and adding to a s…
…ingle UID predicate in the same transaction. (#6449) The iterate method does not account for delete postings in the same transaction so they have to be preserved manually. Otherwise, if a deletion and an add operation to the same uid happen in the same predicate, the deletion operation is not applied. Fixes DGRAPH-1309 (cherry picked from commit 56c8f3c)
Configuration menu - View commit details
-
Copy full SHA for 0913fe3 - Browse repository at this point
Copy the full SHA 0913fe3View commit details -
Fix(docs): Fix subsection references in docs (#6439) (#6516)
* Fix references in docs * Fix mutations/language-rdf-types.md reference (cherry picked from commit 027db53)
Configuration menu - View commit details
-
Copy full SHA for f7145fc - Browse repository at this point
Copy the full SHA f7145fcView commit details -
Fix(increment): Fix readTs less than minTs (#6317) (#6517)
Use the readTs for reads via LocalCache. This would ensure that users don't get a lot of ReadTs less than MinTs errors. This PR also fixes the flaky test in increment_test.go. This has a side-effect on posting list cache. That cache would need to understand versioning to be effective. Co-authored-by: Daniel Mai <daniel@dgraph.io> (cherry picked from commit 2de4675) Co-authored-by: Manish R Jain <manish@dgraph.io>
Configuration menu - View commit details
-
Copy full SHA for a7b092a - Browse repository at this point
Copy the full SHA a7b092aView commit details
Commits on Sep 21, 2020
-
fix(GraphQL): Fix order and offset in auth queries. (#6221) (#6366)
* Fix order and offset in auth queries. * Remove order from top-level auth filter. (cherry picked from commit a5bfd4a)
Arijit Das authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for e1d747f - Browse repository at this point
Copy the full SHA e1d747fView commit details -
fix(GraphQL): Fix query rewriting for auth delete when deleting types…
… with inverse field. (#6350) (#6524) * Fix query rewriting for auth delete when deleting types with inverse field. (cherry picked from commit be9ebd0)
Arijit Das authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 27837c8 - Browse repository at this point
Copy the full SHA 27837c8View commit details -
cherry-pick v20.07: fix(GraphQL): Link xids properly if there are dup…
…licate xids within t… (#6521) Fixes GRAPHQL-641 See https://discuss.dgraph.io/t/residual-issue-linking-grandchild-in-mutation-with-custom-ids/9613 for the issue details. If the same nested xid was used as a leaf node within an addType mutation, it was only linked the first time that it was used and not subsequently for later objects. This change fixes that by adding the linkage mutations and only removing the mutation which was creating the object with the xid again. (cherry picked from commit 12b2716) # Conflicts: # graphql/e2e/directives/dgraph_directives_test.go # graphql/e2e/normal/normal_test.go # graphql/resolve/add_mutation_test.yaml
Configuration menu - View commit details
-
Copy full SHA for e07f17d - Browse repository at this point
Copy the full SHA e07f17dView commit details -
fix(GraphQL): fix internal error when doing GraphQL schema introspect…
Configuration menu - View commit details
-
Copy full SHA for e55801b - Browse repository at this point
Copy the full SHA e55801bView commit details -
fix(GraphQL): fix for deletion on interfaces with no non Id field (#6387
) (#6417) Fixes GRAPHQL-655. For this user schema (interface have no non-Id field): ``` interface A { name: String! @id } type B implements A { age: Int! } ``` the following delete mutation ``` mutation{ deleteA(filter:{name:{eq: "xyz"}}){ a{ name } } } ``` was resulting in the following error: ``` { "errors": [ { "message": "Internal Server Error - a panic was trapped. This indicates a bug in the GraphQL server. A stack trace was logged. Please let us know by filing an issue with the stack trace." } ] } ``` This PR fixes this bug and now deleting can be performed successfully. (cherry picked from commit 742259b)
Configuration menu - View commit details
-
Copy full SHA for d7feabd - Browse repository at this point
Copy the full SHA d7feabdView commit details -
fix(GraphQL): fix restoreStatus query with query variables (#6414) (#…
…6424) Fixes GRAPHQL-642. For this restoreStatus query using variable ``` query restoreStatus($restoreId: Int!) { restoreStatus(restoreId: $restoreId) { status errors } } ``` was giving this panic ``` panic: interface conversion: interface {} is json.Number, not int64. ``` Whereas the expected result should be ``` { "data": { "restoreStatus": { "status": "UNKNOWN", "errors": [] } }, "extensions": {} } ``` This PR fixes this panic, Now `resolveStatus` with or without variable works fine. (cherry picked from commit 45afae9)
Configuration menu - View commit details
-
Copy full SHA for 3d2bfe7 - Browse repository at this point
Copy the full SHA 3d2bfe7View commit details -
fix(GraphQl): fix errors from authorization examples given in docs. (#…
Configuration menu - View commit details
-
Copy full SHA for 62154f3 - Browse repository at this point
Copy the full SHA 62154f3View commit details -
Changes github.com/dgraph-io/graphql-transport-ws version (#6462) (#6529
) (cherry picked from commit 5aca255)
Configuration menu - View commit details
-
Copy full SHA for aea0af3 - Browse repository at this point
Copy the full SHA aea0af3View commit details -
Remove auth error from mutation. (#6532)
Arijit Das authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 302afc3 - Browse repository at this point
Copy the full SHA 302afc3View commit details -
fix(GraphQL): This PR add schema cleaning in GraphQL. (#6523)
Configuration menu - View commit details
-
Copy full SHA for 812a6f0 - Browse repository at this point
Copy the full SHA 812a6f0View commit details -
fix(GraphQL): Fix squashIntoObject so that results are correctly merg…
…ed (#6416) (#6530) While creating the add mutation, we weren't squashing different bits correctly which led to the incorrect mutation being sent to Dgraph. This change modifies the set to append for []interface{} to fix that. Fixes GRAPHQL-679 (cherry picked from commit 816a08f) # Conflicts: # graphql/e2e/common/mutation.go # graphql/e2e/directives/schema.graphql # graphql/e2e/normal/schema.graphql # graphql/resolve/schema.graphql
Configuration menu - View commit details
-
Copy full SHA for 274f8b5 - Browse repository at this point
Copy the full SHA 274f8b5View commit details -
fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444) (#…
…6535) * fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444) * Fix cascade with auth query. * Added additional E2E test. (cherry picked from commit 8c518d4)
Arijit Das authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 9c8fffa - Browse repository at this point
Copy the full SHA 9c8fffaView commit details -
fix(GraphQL): Hide info when performing mutation on id field with aut…
…h rule. (#6391) (#6534) * fix(GraphQL): Hide info when performing mutation on id field with auth rule. (#6391) * Hide info when performing mutation on id field with auth rule. (cherry picked from commit 5c33428)
Arijit Das authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 657d830 - Browse repository at this point
Copy the full SHA 657d830View commit details
Commits on Sep 22, 2020
-
fix(GraphQL): This PR adds documentation for Scalar DateTime type. (#…
Configuration menu - View commit details
-
Copy full SHA for 572237d - Browse repository at this point
Copy the full SHA 572237dView commit details
Commits on Sep 24, 2020
-
Revert "fix(GraphQL): This PR add schema cleaning in GraphQL. (#6523)" (
#6559) This reverts commit 812a6f0. # Conflicts: # graphql/schema/testdata/schemagen/output/filter-cleanSchema-all-empty.graphql # graphql/schema/testdata/schemagen/output/filter-cleanSchema-circular.graphql # graphql/schema/testdata/schemagen/output/filter-cleanSchema-custom-mutation.graphql # graphql/schema/testdata/schemagen/output/filter-cleanSchema-directLink.graphql
Configuration menu - View commit details
-
Copy full SHA for 3a15891 - Browse repository at this point
Copy the full SHA 3a15891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f88efe - Browse repository at this point
Copy the full SHA 9f88efeView commit details
Commits on Sep 27, 2020
-
perf(raft): Use raft storage in managedmode (#6457) (#6547)
This PR changes how we use badger in the wal store. Currently, we run badger in normal mode for `w` and `zw` store. We've seen up to 900K entries for the same hard state (hs) key in `zw` store. These duplicate keys cause spikes in read latencies in `zw`. The `w` store has more compactions compared to `zw` store and so it has lesser stale data and thus lesser spikes in read latencies. The fix here is to open the `w` and `zw` directories in managed mode and perform all writes on the same timestamp (max version in the db). This leads to close to 0 duplicates in the store. This PR also fixes the raft leader election issue which is a result of high read latencies. (cherry picked from commit 6882e37)
Ibrahim Jarif authoredSep 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 3d1027e - Browse repository at this point
Copy the full SHA 3d1027eView commit details
Commits on Sep 28, 2020
-
chore(query): Return content length header for queries (#6469) (#6480)
This PR adds `Content-Length` header to the response of queries sent via HTTP. Fixes DGRAPH-1675 (cherry picked from commit ed63786)
Ibrahim Jarif authoredSep 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 74daf3a - Browse repository at this point
Copy the full SHA 74daf3aView commit details -
fix(bulkLoader): Use flags for cache (#6322) (#6467)
Bulk loader uses caches in compression and this PR adds flags to make it configurable. Bulk loader was setting compressionLevel but not the compression option. As a result of this, badger wasn't compressing any data. This PR fixes this setting compression if compressionLevel is greater than 0. (cherry picked from commit 99341dc)
Ibrahim Jarif authoredSep 28, 2020 Configuration menu - View commit details
-
Copy full SHA for f3a2091 - Browse repository at this point
Copy the full SHA f3a2091View commit details
Commits on Oct 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for df3c538 - Browse repository at this point
Copy the full SHA df3c538View commit details
Commits on Oct 2, 2020
-
(release/v20.07): feat(Dgraph): add utility to export backup data. (#…
…6590) * (release/v20.07): feat(Dgraph): add utility to export backup data. (#6550) This utility allows to take a single backup (full or incremental) and export the data and the schema inside it to RDF. Encrypted backups are supported. Fixes DGRAPH-2465 (cherry picked from commit 369a5c1) * Remove destination field.
Configuration menu - View commit details
-
Copy full SHA for 789e94b - Browse repository at this point
Copy the full SHA 789e94bView commit details -
(release/v20.07) build: Makefile to build Dgraph inside docker contai…
Configuration menu - View commit details
-
Copy full SHA for 1e29664 - Browse repository at this point
Copy the full SHA 1e29664View commit details -
(release/v20.07) Pause rollups during snapshot streaming. (#6611)
(cherry picked from commit b777913)
Configuration menu - View commit details
-
Copy full SHA for 0b7483f - Browse repository at this point
Copy the full SHA 0b7483fView commit details -
(release/v20.07) test: Fix flakiness in group_delete_test.go (#6626)
The test and utility were assuming that node 1 was in group 1, node 2 in group 2, and so on. This is not true all the time, hence the flakiness. Fixing the code to not make this assumptions as well as retrying the DropAll in NodesSetup to ensure all the nodes are up before proceeding with the test. (cherry picked from commit 36638a7)
Configuration menu - View commit details
-
Copy full SHA for 7eac316 - Browse repository at this point
Copy the full SHA 7eac316View commit details -
CID never created if Zero stops early after first init (#5719) (#6637)
(cherry picked from commit 09ef988)
Configuration menu - View commit details
-
Copy full SHA for 47c6726 - Browse repository at this point
Copy the full SHA 47c6726View commit details
Commits on Oct 3, 2020
-
test: Enterprise License tests (#5822) (#6640)
Enterprise License unit tests
Configuration menu - View commit details
-
Copy full SHA for 55f05c0 - Browse repository at this point
Copy the full SHA 55f05c0View commit details -
Pagination param "after" does not work when using func: uid(v) (#6365) (
#6634) fixed : Pagination param "after" does not work when using func: uid(v)
Configuration menu - View commit details
-
Copy full SHA for 483d3ff - Browse repository at this point
Copy the full SHA 483d3ffView commit details
Commits on Oct 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f2807b - Browse repository at this point
Copy the full SHA 0f2807bView commit details
Commits on Oct 5, 2020
-
release/v20.07 - fix(gqlgen): Update gqlgen in go.mod (#6594) (#6646)
Configuration menu - View commit details
-
Copy full SHA for 1dd3b3a - Browse repository at this point
Copy the full SHA 1dd3b3aView commit details -
Fix(GraphQL): fix object Linking with
hasInverse
(#6557) (#6648)This PR fixes incorrect linking of objects with `hasInverse`. For example For this schema, `type Country` has field `state` with `hasInverse` predicate. ``` type Country { id: ID! name: String! @search(by: [trigram, hash]) states: [State] @hasInverse(field: country) } type State { id: ID! xcode: String! @id @search(by: [regexp]) name: String! capital: String country: Country } ``` And for the following mutation ``` mutation addCountry($input: [AddCountryInput!]!) { addCountry(input: $input) { country { name states{ xcode name country{ name } } } } } ``` with `input`: ``` { "input": { "name": "A Country", "states": [ { "xcode": "abc", "name": "Alphabet" }, { "xcode": "def", "name": "Vowel", "country": { "name": "B country" } } ] } } ``` should result in ``` { "addCountry": { "country": [ { "name": "A country", "states": [ { "country": { "name": "A country" }, "name": "Alphabet", "xcode": "abc" }, { "country": { "name": "A country" }, "name": "Vowel", "xcode": "def" } ] } ] } }` ``` whereas the incorrect output was ``` { "addCountry": { "country": [ { "name": "A country", "states": [ { "country": { "name": "A country" }, "name": "Alphabet", "xcode": "abc" }, { "country": { "name": "B country" }, "name": "Vowel", "xcode": "def" } ] } ] } }` ``` This PR fixes this issue. (cherry picked from commit e496467)
Configuration menu - View commit details
-
Copy full SHA for fd30832 - Browse repository at this point
Copy the full SHA fd30832View commit details -
doc: update /admin endpoint documentation. (#6415) (#6527)
This PR updates documentation for the `/admin` endpoint operation and `restore` operation. (cherry picked from commit 288eafb)
Configuration menu - View commit details
-
Copy full SHA for 48f80d6 - Browse repository at this point
Copy the full SHA 48f80d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f079c7f - Browse repository at this point
Copy the full SHA f079c7fView commit details -
fix (graphql): disallowing field names with as (#6645)
This is related to GRAPHQL-564. as is Dgraph reserved keyword. It's being used by DQL to identify variables. This PR is to restrict the naming for fields with the name as.
Configuration menu - View commit details
-
Copy full SHA for 6ae69b4 - Browse repository at this point
Copy the full SHA 6ae69b4View commit details -
(release/v20.07) docs: Update restore documentation. (#6653)
(cherry picked from commit 014ee10)
Configuration menu - View commit details
-
Copy full SHA for 0aba15f - Browse repository at this point
Copy the full SHA 0aba15fView commit details -
fix(Query): Fix wrong path response for k-shortest paths (#6437) (#6654)
The k-shortest path query sometimes returns a wrong response. The cause of this issue is inappropriate use of sync.pools. Whenever a valid path is found a new variable is assigned with this route and that variable is appended in the kroutes (which is then parsed to produce response). But the route is also put in the sync.pool. Since the route is a structure containing a pointer to slice along with other fields, when it is fetched back from the pool in future then any mutation on this fetched route causes modification in the kroutes, resulting in garbage response. This issue is fixed by making a copy of the route struct rather than just assigning it to a variable, which causes a shallow copy. (cherry picked from commit 4792d8b)
Configuration menu - View commit details
-
Copy full SHA for c5dca7e - Browse repository at this point
Copy the full SHA c5dca7eView commit details
Commits on Oct 7, 2020
-
Updater badger to 5e3d4b9 (#6669)
Ibrahim Jarif authoredOct 7, 2020 Configuration menu - View commit details
-
Copy full SHA for b84251f - Browse repository at this point
Copy the full SHA b84251fView commit details -
Break out if g.Ctx is done (#6675)
(cherry picked from commit a8a47af) Co-authored-by: Manish R Jain <manish@dgraph.io>
Configuration menu - View commit details
-
Copy full SHA for b52a1bf - Browse repository at this point
Copy the full SHA b52a1bfView commit details
Commits on Oct 8, 2020
-
fix(Auth): fix Poor-man's auth for admin operations (#6660) (#6686)
Fixes DGRAPH-2419 Fixes [Discuss Issue](https://discuss.dgraph.io/t/acl-login-will-fail-if-auth-token-enabled-in-v20-07-0/10044) This PR fixes Poor-man's auth for following endpoints: * `/login` * `/admin` (cherry picked from commit 4fc328d) # Conflicts: # graphql/e2e/common/common.go
Configuration menu - View commit details
-
Copy full SHA for c2d5e66 - Browse repository at this point
Copy the full SHA c2d5e66View commit details
Commits on Oct 15, 2020
-
Merge branch 'release/v20.07' of github.com:dgraph-io/dgraph into abh…
…imanyu/release-slash-merge # Conflicts: # dgraph/cmd/alpha/run.go # dgraph/cmd/bulk/reduce.go # dgraph/cmd/zero/raft.go # edgraph/server.go # go.mod # go.sum # graphql/e2e/common/common.go # graphql/e2e/common/fragment.go # graphql/e2e/common/mutation.go # graphql/e2e/common/query.go # graphql/e2e/custom_logic/custom_logic_test.go # graphql/e2e/directives/schema_response.json # graphql/e2e/normal/schema_response.json # graphql/e2e/schema/generatedSchema.graphql # graphql/resolve/resolver.go # graphql/schema/testdata/schemagen/output/type-without-orderables.graphql # protos/pb/pb.pb.go # wiki/content/enterprise-features/binary-backups.md # wiki/content/graphql/admin/index.md # wiki/content/graphql/schema/reserved.md
Configuration menu - View commit details
-
Copy full SHA for 9048647 - Browse repository at this point
Copy the full SHA 9048647View commit details -
Merge branch 'release/v20.07' of github.com:dgraph-io/dgraph into abh…
…imanyu/release-slash-merge # Conflicts: # dgraph/cmd/alpha/run.go # dgraph/cmd/bulk/reduce.go # dgraph/cmd/zero/raft.go # edgraph/server.go # go.mod # go.sum # graphql/e2e/common/common.go # graphql/e2e/common/fragment.go # graphql/e2e/common/mutation.go # graphql/e2e/common/query.go # graphql/e2e/custom_logic/custom_logic_test.go # graphql/e2e/directives/schema_response.json # graphql/e2e/normal/schema_response.json # graphql/e2e/schema/generatedSchema.graphql # graphql/resolve/resolver.go # graphql/schema/testdata/schemagen/output/type-without-orderables.graphql # protos/pb/pb.pb.go # wiki/content/enterprise-features/binary-backups.md # wiki/content/graphql/admin/index.md # wiki/content/graphql/schema/reserved.md
Configuration menu - View commit details
-
Copy full SHA for 6c0f7e5 - Browse repository at this point
Copy the full SHA 6c0f7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83af457 - Browse repository at this point
Copy the full SHA 83af457View commit details