Skip to content
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 #6536

Merged
merged 71 commits into from
Sep 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
6461a8b
fix(docs): fix URL paths and make deploy page to not show blank page …
NamanJain8 Aug 19, 2020
7a40b25
feat(docs): Port GraphQL docs to v20.07 (#6202)
vardhanapoorv Aug 20, 2020
e8813c6
doc: Setting the canonical path to each docs without version (#6249)
gja Aug 20, 2020
4022128
fix: remove unnecessary curly braces from doc (#6256)
Aug 21, 2020
6ba1b55
fix(Dgraph): Stop forcing RAM mode for the write-ahead log. (#6142) (…
martinmr Aug 24, 2020
ae35150
Enabling Discuss comments
gja Aug 25, 2020
9df9f92
Fix(Dgraph): Fix how visited nodes are detected in recurse queries. (…
martinmr Aug 26, 2020
f609895
fix panicwrap parent check (#6264) (#6299)
Aug 27, 2020
18867ab
release/v20.07 - add --cache_mb and --cache_percentage flag (#6286)
NamanJain8 Aug 27, 2020
7b91391
fix(Dgraph): Sort manifests by BackupNum in file handler. (#6263) (#6…
martinmr Aug 28, 2020
6618758
fix(ACL Query): Fixes queries which use variable at the top level (#6…
all-seeing-code Aug 28, 2020
eb04d17
Revert "Fix(Dgraph): Fix how visited nodes are detected in recurse qu…
martinmr Aug 28, 2020
ca2764b
fix(Dgraph): Don't store start_ts in postings. (#6213)
martinmr Aug 29, 2020
b834fd0
docs: add info about __typename in custom DQL (#6248) (#6273)
abhimanyusinghgaur Aug 31, 2020
60b64cc
fix(GraphQL): fixes unexpected fragment behaviour (#6228) (#6274)
abhimanyusinghgaur Aug 31, 2020
e857ad2
fix(task): Return error on closed DB (#6075) (#6320)
Aug 31, 2020
b4db809
fix(Dgraph): make backups cancel other tasks (#6152) (#6243)
martinmr Aug 31, 2020
99ed46b
Update badger to v2.2007.2 (#6294)
Aug 31, 2020
694d080
posting list fixes. (#6303) (#6332)
martinmr Aug 31, 2020
1692cdb
fix: Online Restore honors credentials passed in (#6295) (#6302)
martinmr Aug 31, 2020
a199d06
(release/v20.07) Fix(Dgraph): Add a lock to backups to process one re…
martinmr Sep 1, 2020
c7f26a8
(release/v20.07) fix(Dgraph): Add flags to set table and vlog loading…
martinmr Sep 1, 2020
f05ec9f
proto fix needed for PR #6331 (#6337) (#6346)
Sep 1, 2020
6dcac35
chore(GraphQL): remove skipped tests (#6078) (#6347)
abhimanyusinghgaur Sep 1, 2020
71bb474
test: add --build option for docker-compose up in test script (#6348)…
abhimanyusinghgaur Sep 1, 2020
110c041
cherry-pick v20.07: fix(GraphQL): incorrect generatedSchema in update…
abhimanyusinghgaur Sep 1, 2020
d13857f
(release/v20.07) fix(Dgraph): add flag to set up compression in zero.…
martinmr Sep 1, 2020
697a7db
fix(dgraph): sentry nil pointer check (#6372) (#6374)
Sep 2, 2020
83fe9f6
doc: Adding a note on backend modes
gja Sep 3, 2020
deae967
doc: Adding a security page on slash
gja Sep 3, 2020
abec436
chore(Docs): Update graph-links.md to remove a duplicate word. (#6378)
haikusw Sep 3, 2020
f5ea8e3
doc: One-Click Documentation for Slash (#6381 #6383) (#6384)
all-seeing-code Sep 3, 2020
710b4c9
Use z.Closer instead of y.Closer (#6394) (#6399)
Sep 4, 2020
18cc5f9
(release/v20.07) docs: Add section on automating backups. (#6405)
martinmr Sep 4, 2020
88994d0
relase/v20.07 - Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313) …
Sep 4, 2020
58fb41b
fix(shutdown): Force exit if CTRL-C is caught before initialization (…
Sep 4, 2020
d9da285
Update advanced-queries.md
gja Sep 7, 2020
1b01778
fix(Query) Fix Star_All delete query when used with ACL enabled (#633…
all-seeing-code Sep 9, 2020
9fc9dd8
docs: Add netlify deploy docs to slash docs (#6425) (#6428)
all-seeing-code Sep 9, 2020
7d6e3f1
docs: add whitelisting issue error in troubleshoot page to help the c…
Sep 9, 2020
1e179c1
Add badger to docs (#6430)
pawanrawal Sep 9, 2020
9c8c994
fix(bulk): Batch list in bulk loader to avoid panic (#6446)
harshil-goel Sep 16, 2020
5e5a530
Changelog and Codename (#6488)
Sep 17, 2020
d7123d9
fix: Regenerate protos.
danielmai Sep 17, 2020
23d72a8
fix(GraphQL): fix introspection completion bug (#6385) (#6389)
abhimanyusinghgaur Sep 18, 2020
1e81ff6
fix(GraphQL): don't generate orderable enum value for list fields (#6…
abhimanyusinghgaur Sep 18, 2020
cf876b6
feat(Dgraph): Add separate compression flag for z and wal dirs (#6401…
vmrajas Sep 18, 2020
88cc572
docs: Update list documentation (#6455) (#6461)
abhimanyusinghgaur Sep 18, 2020
fcbecc1
cherry-pick v20.07: fix(GraphQL): Generate correct schema when no ord…
abhimanyusinghgaur Sep 18, 2020
618ae3d
(release/v20.07) test: retry getting client in TestNodes. (#6482)
martinmr Sep 18, 2020
0913fe3
(release/v20.07) fix(Dgraph): fix bug when deleting and adding to a s…
martinmr Sep 18, 2020
f7145fc
Fix(docs): Fix subsection references in docs (#6439) (#6516)
vmrajas Sep 18, 2020
a7b092a
Fix(increment): Fix readTs less than minTs (#6317) (#6517)
Sep 18, 2020
e1d747f
fix(GraphQL): Fix order and offset in auth queries. (#6221) (#6366)
Sep 21, 2020
27837c8
fix(GraphQL): Fix query rewriting for auth delete when deleting types…
Sep 21, 2020
e07f17d
cherry-pick v20.07: fix(GraphQL): Link xids properly if there are dup…
abhimanyusinghgaur Sep 21, 2020
e55801b
fix(GraphQL): fix internal error when doing GraphQL schema introspect…
minhaj-shakeel Sep 21, 2020
d7feabd
fix(GraphQL): fix for deletion on interfaces with no non Id field (#6…
minhaj-shakeel Sep 21, 2020
3d2bfe7
fix(GraphQL): fix restoreStatus query with query variables (#6414) (…
minhaj-shakeel Sep 21, 2020
62154f3
fix(GraphQl): fix errors from authorization examples given in docs. (…
JatinDev543 Sep 21, 2020
aea0af3
Changes github.com/dgraph-io/graphql-transport-ws version (#6462) (#6…
JatinDev543 Sep 21, 2020
302afc3
Remove auth error from mutation. (#6532)
Sep 21, 2020
812a6f0
fix(GraphQL): This PR add schema cleaning in GraphQL. (#6523)
JatinDev543 Sep 21, 2020
274f8b5
fix(GraphQL): Fix squashIntoObject so that results are correctly merg…
abhimanyusinghgaur Sep 21, 2020
9c8fffa
fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444) …
Sep 21, 2020
657d830
fix(GraphQL): Hide info when performing mutation on id field with aut…
Sep 21, 2020
db98955
Merge branch 'release/v20.07' of github.com:dgraph-io/dgraph into abh…
abhimanyusinghgaur Sep 21, 2020
949639e
Merge branch 'release/v20.07' of github.com:dgraph-io/dgraph into abh…
abhimanyusinghgaur Sep 21, 2020
21ad3f6
fix tests
abhimanyusinghgaur Sep 21, 2020
1a1f456
fix cost test
abhimanyusinghgaur Sep 21, 2020
77961b8
fix test compilation
abhimanyusinghgaur Sep 21, 2020
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
51 changes: 49 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project will adhere to [Calendar Versioning](https://calver.org/) starting v20.03.

## [20.07.1] - Unreleased
## [20.07.1] - 2020-09-17
[20.07.1]: https://github.com/dgraph-io/dgraph/compare/v20.07.0...v20.07.1

### Changed
Expand All @@ -19,6 +19,9 @@ and this project will adhere to [Calendar Versioning](https://calver.org/) start

- GraphQL
- Adds auth for subscriptions. ([#6165][])
- Add --cache_mb and --cache_percentage flags. ([#6286][])
- Add flags to set table and vlog loading mode for zero. ([#6342][])
- Add flag to set up compression in zero. ([#6355][])

### Fixed

Expand All @@ -33,12 +36,46 @@ and this project will adhere to [Calendar Versioning](https://calver.org/) start
- Don't reserve certain queries/mutations/inputs when a type is remote. ([#6201][])
- Linking of xids for deep mutations. ([#6203][])
- Prevent empty values in fields having `id` directive. ([#6196][])
- Fixes unexpected fragment behaviour. ([#6274][])
- Incorrect generatedSchema in update GQLSchema. ([#6354][])
- Fix out of order issues with split keys in bulk loader. ([#6124][])
- Rollup a batch if more than 2 seconds elapsed since last batch. ([#6137][])
- Refactor: Simplify how list splits are tracked. ([#6070][])
- Fix: Don't allow idx flag to be set to 0 on dgraph zero. ([#6192][])
- Fix error message for idx = 0 for dgraph zero. ([#6199][])

- Stop forcing RAM mode for the write-ahead log. ([#6259][])
- Fix panicwrap parent check. ([#6299][])
- Sort manifests by BackupNum in file handler. ([#6279][])
- Fixes queries which use variable at the top level. ([#6290][])
- Return error on closed DB. ([#6320][])
- Optimize splits by doing binary search. Clear the pack from the main list. ([#6332][])
- Proto fix needed for PR [#6331][]. ([#6346][])
- Sentry nil pointer check. ([#6374][])
- Don't store start_ts in postings. ([#6213][])
- Use z.Closer instead of y.Closer. ([#6399][])
- Make Alpha Shutdown Again. ([#6402][])
- Force exit if CTRL-C is caught before initialization. ([#6407][])
- Update advanced-queries.md.
- Batch list in bulk loader to avoid panic. ([#6446][])
- Enterprise features
- Make backups cancel other tasks. ([#6243][])
- Online Restore honors credentials passed in. ([#6302][])
- Add a lock to backups to process one request at a time. ([#6339][])
- Fix Star_All delete query when used with ACL enabled. ([#6336][])

[#6407]: https://github.com/dgraph-io/dgraph/issues/6407
[#6336]: https://github.com/dgraph-io/dgraph/issues/6336
[#6446]: https://github.com/dgraph-io/dgraph/issues/6446
[#6402]: https://github.com/dgraph-io/dgraph/issues/6402
[#6399]: https://github.com/dgraph-io/dgraph/issues/6399
[#6346]: https://github.com/dgraph-io/dgraph/issues/6346
[#6332]: https://github.com/dgraph-io/dgraph/issues/6332
[#6243]: https://github.com/dgraph-io/dgraph/issues/6243
[#6302]: https://github.com/dgraph-io/dgraph/issues/6302
[#6339]: https://github.com/dgraph-io/dgraph/issues/6339
[#6355]: https://github.com/dgraph-io/dgraph/issues/6355
[#6342]: https://github.com/dgraph-io/dgraph/issues/6342
[#6286]: https://github.com/dgraph-io/dgraph/issues/6286
[#6201]: https://github.com/dgraph-io/dgraph/issues/6201
[#6203]: https://github.com/dgraph-io/dgraph/issues/6203
[#6196]: https://github.com/dgraph-io/dgraph/issues/6196
Expand All @@ -61,6 +98,16 @@ and this project will adhere to [Calendar Versioning](https://calver.org/) start
[#6098]: https://github.com/dgraph-io/dgraph/issues/6098
[#6151]: https://github.com/dgraph-io/dgraph/issues/6151
[#6165]: https://github.com/dgraph-io/dgraph/issues/6165
[#6259]: https://github.com/dgraph-io/dgraph/issues/6259
[#6299]: https://github.com/dgraph-io/dgraph/issues/6299
[#6279]: https://github.com/dgraph-io/dgraph/issues/6279
[#6290]: https://github.com/dgraph-io/dgraph/issues/6290
[#6274]: https://github.com/dgraph-io/dgraph/issues/6274
[#6320]: https://github.com/dgraph-io/dgraph/issues/6320
[#6331]: https://github.com/dgraph-io/dgraph/issues/6331
[#6354]: https://github.com/dgraph-io/dgraph/issues/6354
[#6374]: https://github.com/dgraph-io/dgraph/issues/6374
[#6213]: https://github.com/dgraph-io/dgraph/issues/6213

## [20.07.0] - 2020-07-28
[20.07.0]: https://github.com/dgraph-io/dgraph/compare/v20.03.4...v20.07.0
Expand Down
3 changes: 2 additions & 1 deletion conn/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/dgraph-io/dgraph/protos/pb"
"github.com/dgraph-io/dgraph/raftwal"
"github.com/dgraph-io/dgraph/x"
"github.com/dgraph-io/ristretto/z"
)

var (
Expand Down Expand Up @@ -647,7 +648,7 @@ func (n *Node) WaitLinearizableRead(ctx context.Context) error {
}

// RunReadIndexLoop runs the RAFT index in a loop.
func (n *Node) RunReadIndexLoop(closer *y.Closer, readStateCh <-chan raft.ReadState) {
func (n *Node) RunReadIndexLoop(closer *z.Closer, readStateCh <-chan raft.ReadState) {
defer closer.Done()
readIndex := func(activeRctx []byte) (uint64, error) {
// Read Request can get rejected then we would wait indefinitely on the channel
Expand Down
6 changes: 3 additions & 3 deletions conn/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"sync"
"time"

"github.com/dgraph-io/badger/v2/y"
"github.com/dgraph-io/dgo/v200/protos/api"
"github.com/dgraph-io/dgraph/protos/pb"
"github.com/dgraph-io/dgraph/x"
"github.com/dgraph-io/ristretto/z"
"github.com/golang/glog"
"github.com/pkg/errors"
"go.opencensus.io/plugin/ocgrpc"
Expand All @@ -50,7 +50,7 @@ type Pool struct {

lastEcho time.Time
Addr string
closer *y.Closer
closer *z.Closer
healthInfo pb.HealthInfo
}

Expand Down Expand Up @@ -175,7 +175,7 @@ func newPool(addr string) (*Pool, error) {
if err != nil {
return nil, err
}
pl := &Pool{conn: conn, Addr: addr, lastEcho: time.Now(), closer: y.NewCloser(1)}
pl := &Pool{conn: conn, Addr: addr, lastEcho: time.Now(), closer: z.NewCloser(1)}
go pl.MonitorHealth()
return pl, nil
}
Expand Down
2 changes: 1 addition & 1 deletion contrib/scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function restartCluster {
fi

docker ps -a --filter label="cluster=test" --format "{{.Names}}" | xargs -r docker rm -f
GOPATH=$docker_compose_gopath docker-compose -p dgraph -f $compose_file up --force-recreate --remove-orphans -d || exit 1
GOPATH=$docker_compose_gopath docker-compose -p dgraph -f $compose_file up --force-recreate --build --remove-orphans -d || exit 1
popd >/dev/null

$basedir/contrib/wait-for-it.sh -t 60 localhost:6180 || exit 1
Expand Down
2 changes: 1 addition & 1 deletion dgraph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

BIN = dgraph
BUILD ?= $(shell git rev-parse --short HEAD)
BUILD_CODENAME = shuri
BUILD_CODENAME = shuri-1
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
Loading