Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/unigraph-dev/dgraph

Native GraphQL Database with graph backend
https://github.com/unigraph-dev/dgraph

feat(mutation): mutation now shows changed UIDs

999d68cc29b0652e88e24f5636f7d88746a62e2e authored almost 3 years ago by Sophia Xu <[email protected]>
chore: unigraph/v0.2.0

8f0c539c101f9f7d69e4c5feaeac88c94cce727b authored almost 3 years ago by Sophia Xu <[email protected]>
fix(query): subgraph expansion differentiate between different filters

d93ac1a2d19cc5145a9424c37c1a3dcbb3d24945 authored almost 3 years ago by Sophia Xu <[email protected]>
fix(aggregation): if summing or averaging over nothing, we should return zero

162f323ea2e9e5e660516928a861282d45046a75 authored almost 3 years ago by Sophia Xu <[email protected]>
fix(worker): reset cache size to default size

e31c77d5df56b71f6e32f0a5d79dc5d3efa70d5d authored almost 3 years ago by Sophia Xu <[email protected]>
feat(unigraph-dgraph): merge to upstream

30e211c764348742e29c32acd9228f2339aa90bc authored almost 3 years ago by Sophia Xu <[email protected]>
updating gqlparser version with race fix (#8106)

d62ed5f15f895af6ea012869487391afc2e7bf61 authored about 3 years ago by aman bansal <[email protected]>
fix(deps): update badger to fix race condition with drop operation (#8105)

4fa5c046e2711b5e152351244ae5e04054821639 authored about 3 years ago by Naman Jain <[email protected]>
fix(test): increase pending query limit and max splits (#8104)

26ef562207bb90d6112e292e27d6e6003b7e5409 authored about 3 years ago by Naman Jain <[email protected]>
build: Update release.sh. (#8102)

* Go 1.17
* Node v14

021e21f85ec71fc6ddc4b95944d525f6bfb2cf52 authored about 3 years ago by Daniel Mai <[email protected]>
chore(changelog): adding changelog for 21.12 and adding tagname (#8096)

* chore(changelog): adding changelog for 21.12

* adding tag name

4aeb11fed05c05d9012c2fbfc24f17c5faf7df26 authored about 3 years ago by aman bansal <[email protected]>
Don't ban namespace in export_backup (#8099)

(cherry picked from commit 89b573aafcc7e498a91ae769aba384abd0c40b95)

da16e227ee0b97db85a36a495f40e202b1c8d12b authored about 3 years ago by Ahsan Barkati <[email protected]>
fix(state): fix hex to uint64 response of list of namespaces (#8091) (#8101)

There is an issue in ExtractNamespaceFromPredicate. The issue is the parsing was done assuming n...

683885a4e8391e90d1a2b3a019b07d97b062ec28 authored about 3 years ago by Naman Jain <[email protected]>
cherry: cherry: feat: adding bulk call for alpha to inform zero about the tablets (#8… (#8100)

* feat: adding bulk call for alpha to inform zero about the tablets (#8089)

* adding bulk cal...

1667973c88c889bb010ff00d4c30b946cbeec22f authored about 3 years ago by Naman Jain <[email protected]>
fix(restore): return nil if there is error (#7899) (#8098)

(cherry picked from commit d4aeea212ef708f2857363231d13996916475ad5)

ebe64f7675c85cf55e717023fca9df72b5b17e58 authored about 3 years ago by Naman Jain <[email protected]>
feat(cdc): Add superflag to enable TLS without CA or certs. (#7946) (#8097)

This will attempt to connect to Kafka over TLS using the system certs.

* Add helper function ...

3bfd2696f9f7a4857303200cd44633f800845ce6 authored about 3 years ago by Daniel Mai <[email protected]>
perf(rollup): use NSplit API from sroar to improve rollup performance (#8092)

This PR improves the performance of the rollups. Also, it fixes memory issues of the bulk loader...

da9655b7c37bef07c533316d6a7918e735b52506 authored about 3 years ago by Naman Jain <[email protected]>
chore(changelog): update changelog for 21.03 (#8095)

* chore(release): adding changelog for v21.03 (#7696)

* adding changelog for v21.03

(cherr...

d523e203bf78712f047706d670c77275a47d707a authored about 3 years ago by Naman Jain <[email protected]>
feat(graphql): adds @default directive for setting default field values at create and update (#8017)

Adds support for @default directive and don't remove fields from input types.

7e6f8134232f5a21fc66511572421094cb5f1b08 authored about 3 years ago by David Peek <[email protected]>
chore(deps): update badgerdb to latest to get manifest issue fix (#8094)

55fc5b23eb6466cf395c6d3570be7ac883e76eb2 authored about 3 years ago by Kenan Kessler <[email protected]>
test(acl): Test reverse edge access with dgraph.all. (#8093)

Update ACL tests to cover the behavior for dgraph.all permissions
with reverse edges. When the ...

0fee18eb513283769b266b39f6d9f6811a39cdbe authored about 3 years ago by Daniel Mai <[email protected]>
fix(race): fix multiple race conditions (#8069)

Fixes 2 race conditions:

- Txn's MaxAssignedSeen and AppliedIndexSeen were accessed without l...

5429202ea764975fc62bfc2683afedf312c0cf0e authored about 3 years ago by Naman Jain <[email protected]>
fix(build/standalone): Expose port for Zero's REST API endpoint (#8064)

The Docker SDK will not allow mapping a port that it not explicitly exposed in Dockerfile (the d...

9c00943712f814f2bb664b552ab524c806124e2d authored about 3 years ago by Matthew McNeely <[email protected]>
fix(sort): Only filter out nodes with positive offsets. (#8077)

Negative offsets (e.g., offset: -4) can cause panics when sorting. This can happen when the quer...

74d833ce120a38e6e3c8e1f6fe351a4da54e9ae2 authored about 3 years ago by Daniel Mai <[email protected]>
fix(fragment): merge the nested fragments fields (#8075)

3f514fee50730cbdfee1fbbdb3d4f0f629d2cce8 authored about 3 years ago by Naman Jain <[email protected]>
fix(lambda): upgrade lambda dependencies to fix vulnerabilities (#8074)

81977e4a0ffb7eb5115ad698c4d383d318dc4fe1 authored about 3 years ago by Naman Jain <[email protected]>
contrib(sbs): add support for mutations replay in sbs (#8072)

4a716ad5fba86223eb53cb329bfb474960aa1cb4 authored about 3 years ago by Naman Jain <[email protected]>
fix(magic): fix the magic version in bulk loader etc (#8070)

The bulk loader creates the p directory and hence should have the correct external magic version...

84c4ea2ef168c4beb9935476c72442721c887d07 authored about 3 years ago by Naman Jain <[email protected]>
opt(schema): Optimize populateSchema() by avoiding repeated lock acquisition (#8068)

Optimize populateSchema() by avoiding repeated lock acquisition.
we can get the schema for the ...

d935b8b767c3cc39518fe05286db59975bea9b5e authored about 3 years ago by Ahsan Barkati <[email protected]>
Make backup-restore an open source feature (#8067)

Open-source the backup and restore feature.

898ecd19567c38738889a962d404870f2834a688 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(split): enable split of posting list with single plist (#8062)

When there was a single plist to start from and there was nothing in mutationMap, the encode doe...

3592353c6fc3537a0c70620877977d029528dc5b authored over 3 years ago by Naman Jain <[email protected]>
fix(restore): Do not retry restore proposal (#8058)

Do not retry the restore proposal. It can cause issues in the edge case scenarios.
Consider the...

69b186a09bc4254ff02e1d05456b2850099d15db authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(txn): Fix data races in transaction code (#8060)

Fix data races.

cf22bf7d252561de5bd3bdd148eebaeab63c08d3 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(shutdown): wait for pending queries to process on alpha shutdown (#8057)

When alpha shuts down, we were earlier not waiting for the pending queries to process. We should...

ebf8bd6a35a1ab80bde4a10339c2c5a52627db1f authored over 3 years ago by Naman Jain <[email protected]>
updating badger to latest version (#8054)

78597ac61d2b1ac33f56cbb58d607d3b6d25802c authored over 3 years ago by aman bansal <[email protected]>
fix: fixing audit logs for websocket connections (#8048)

* fix: fixing audit logs for websocket connections

97925060b8e4960f437cc5e8fb60a9fd08ee9ee5 authored over 3 years ago by aman bansal <[email protected]>
perf: Speed up parsing of a huge query with a lot of conditional mutations (#7871)

3103f0e3703be7af4b71e140796df10f94f251d1 authored over 3 years ago by Phill240 <[email protected]>
chore(restore): Add more logs for restore request (#8050)

Add more logs for restore.

3950c8f36260a0383e5684bb39595e2d60d03cb6 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(restore-test): Make offline restore use separate map directory for each group (#8047)

Fix offline restore by making offline restore use a separate map directory for all the groups.

ccca73761794b25edbf76b58933aac3ce1a7f9ca authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(lambda-logs): extract namespace from body.namespace (#8043)

e6057cfaea7209c2af6495fc7a02b6a6f4e00ea2 authored over 3 years ago by Naman Jain <[email protected]>
feat(metrics): Add Badger metrics. (#8034)

These metrics have been part of Badger for a while. This PR exports them
in Prometheus format a...

3d1b8c527eea91c52648b6deaf2cd0e3f80ea9e3 authored over 3 years ago by Daniel Mai <[email protected]>
fix(lambda): make lambda active only after successful start (#8036)

There is a logical race condition that causes panic. This happens because the node process did n...

eaee2db257b623b1d7711b36f43b9beb13aa3029 authored over 3 years ago by Naman Jain <[email protected]>
fix(probe): do not contend for lock in lazy load (#8037)

Earlier the admin server mutex lock was used to protect the graphql schema map. But now we store...

5ad40d8479163697049612f28ba40429652b765a authored over 3 years ago by Naman Jain <[email protected]>
opt(Restore): Make restore map phase faster (#8038)

With this change, we can get ~450 MBps output throughput for map phase sustained. This is what w...

00600944a5b84c8ec692d476251ace8a8fc90f80 authored over 3 years ago by Manish R Jain <[email protected]>
fix(contrib): Quote strings in backup script. (#8035)

Quote the bash strings in the backup script. This is important
especially for the command-line ...

f6e8779a355d42ad4dca2136acd488599e67b09e authored over 3 years ago by Daniel Mai <[email protected]>
feat(magicNumber): Introduce magic number (#8032)

Magic number is a unique identifier for the data format of dgraph. In 21.09 we
have changed the...

59f6e7a775df6297dda0ae32e9304e2215065b7c authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(lambda): shutdown node processes when alpha gets killed (#8027)

We were already handling the graceful shutdown of node processes when alpha shuts down. We were ...

d3285b8472d5871c6076adfd9dcb4a99873ad0d2 authored over 3 years ago by Naman Jain <[email protected]>
upgrade(sroar): Use latest sroar (#8028)

Use the latest sroar which has the fix for the AndNot bug.

2977e5f9f2698a880800d98fe58ca34f0dba8aa9 authored over 3 years ago by Ahsan Barkati <[email protected]>
opt(sroar): Optimise the usage of sroar (#8022)

Bring in latest sroar and optimize its usage in Dgraph.

a22d7bd5c42855a6c10ad5caf1b80711406f6416 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(snapshot): Fix snapshot calculation after restore (#8024)

If there is no delta proposal with a valid commit then the snapshot was
skipped. If there is a ...

93e31cc6e829e074273f5decf4634b84e7cc6866 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(badger): Upgrade badger to fix deadlock (#8025)

There was a deadlock in badger compaction which causes alpha to
get stuck. This PR brings in th...

36cb252e39c568f89d050e437e65198889cd552f authored over 3 years ago by Ahsan Barkati <[email protected]>
feat+fix(lambda): allow access to access jwt in lambda (#8023)

* feat+fix(lambda): allow access to access jwt in lambda

* remove usage of env.AUTH_TOKEN

c668fefb4246adbfbc833fbd4bbe247da0a29828 authored over 3 years ago by Naman Jain <[email protected]>
fix(bulk): quote the schema correctly in bulk loader (#8019)

With the format change of exported schema, the schema needs to be quoted at a later stage while ...

1a4f74ae5457062a94b1dff49c93687d33f307d7 authored over 3 years ago by Naman Jain <[email protected]>
fix(sbs): handle response error gracefully (#8018)

Some of the queries might fail. In that case, the response would be empty.

e80395a4c2c8f20b2a83357a73c3d332f2322ec2 authored over 3 years ago by Naman Jain <[email protected]>
fix(admin): make config changes to pass through gog middlewares (#8014)

Currently, guardians of any namespace can enable/disable query logging, update the cache paramet...

6737dfd6fbfef32dfa1fca1b9900027662ad2a11 authored over 3 years ago by Naman Jain <[email protected]>
chore(logs): add logs to track dropped proposals (#8012)

db841dece9fde1243bf2ae3b1131513cf15408d6 authored over 3 years ago by Naman Jain <[email protected]>
fix(lambda): fix race condition in lambda server spin up (#8013)

Fixes the race condition while spinning up the lambda server.

df03a8af28313f234330024b52b2df6ae7e2a37f authored over 3 years ago by Naman Jain <[email protected]>
fix(proposals): Incremental proposal key for zero proposals (#8005)

Change the proposal's unique key to an atomic counter instead of using a randomly generated key.

a515d0dede9014955f571f96525b49fc8c9913f4 authored over 3 years ago by Ahsan Barkati <[email protected]>
opt(sroar): upgrade sroar to use optimised IsEmpty API (#8010)

Upgrade sroar to use an optimized version of IsEmpty API.

a092dc0da0255ac4cc08c8acf785fc53ef37019c authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(lambda): monitor lambda server, fix performance issue, remove lambda logs from extensions (#8006)

Running lambda script in a new context adds a performance penalty.
This PR adds a health monito...

05a3958e57b020b6df5cfbc47f697511b11fb2e2 authored over 3 years ago by Naman Jain <[email protected]>
fix: add validation of null values with correct order of graphql rule validation (#8007) (#8008)

* fix: add validation of null values with correct order of graphql rule validation

20c9a59118a0e7767365dd109b72df3dee6b5c42 authored over 3 years ago by aman bansal <[email protected]>
refactor parser tests (#7822)

be2103b9cf55490674082ebe711819b5e105ae5d authored over 3 years ago by Naman Jain <[email protected]>
feat(rdf-response): Support RDF response via http query request (#8004)

Add support for RDF format response for HTTP requests.

8324c6872655defea29d22f8972015481fcd1056 authored over 3 years ago by Ahsan Barkati <[email protected]>
Use rank() API from sroar and some cleanup (#8002)

IndexOf was converting the bitmap to array and then used binary search to find the rank.
The co...

c4d79ec11702e4f9e99c6b4f88f1c1c5458c1513 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(graphql): fix type assertion failure in graphql if resolver is not defined (#8003)

We were not checking the result of type assertion in lambda mutation's response. This causes the...

652ebe333e2fb3bff7948feb2e42b9b4b503484d authored over 3 years ago by Naman Jain <[email protected]>
[BREAKING] feat: bring dgraph-lambda to dgraph, alpha launches lambda server (#7973)

This PR brings in dgraph-lambda to dgraph repo.

Adds a new super flag --lambda. It has 3 sub ...

12c3ef564cde11ecc3de96ec1516b3148e52d795 authored over 3 years ago by Naman Jain <[email protected]>
opt(codec): return nil instead of a new bitmap (#7997)

Return `nil` in from FromListWithCopy instead of a new bitmap.
We should also do the same for F...

466982d0dddc96e84d2ce6bce50b831baa04075a authored over 3 years ago by Ahsan Barkati <[email protected]>
opt(cache): Use Ristretto to store posting lists (#7995)

- Use some nifty techniques to make Ristretto caching work with MVCC posting lists.
- Use posti...

c051c2f5d0b7d3c2c8b2d7f195f22d4f12e0c6c4 authored over 3 years ago by Ahsan Barkati <[email protected]>
feat(acl): allow access to all the predicates using wildcard (#7991)

There are usecases that need read/write/modify permissions over all the predicates of the namesp...

3504044d6942ae75594a5605623a0bdc4116f84b authored over 3 years ago by Naman Jain <[email protected]>
fix(acl): subscribe for the correct predicates (#7992)

We were subscribing to the wrong predicates. Hence the ACL cache was not getting updated.

1b75c01db6de51f537e2713f2de10316950d7013 authored over 3 years ago by Naman Jain <[email protected]>
fix(live): quote the xid when doing upsert (#7983)

cb2f223ceadf1b4fe51dc904962550aa7208b320 authored over 3 years ago by Naman Jain <[email protected]>
opt(rdf-output): Make RDF output generation concurrent (#7988)

Make the RDF output generation run concurrently.

72bee9357bd07106bbf9a929356ceada5509a7fc authored over 3 years ago by Ahsan Barkati <[email protected]>
opt(recurse): Optimise recurse and bring range iterators from sroar (#7989)

Optimise recurse by using reached map with bitmap as the map value, so a direct
bitmap `AndNot`...

97d58414047c5340f2ce71ece6eb488d77236abd authored over 3 years ago by Ahsan Barkati <[email protected]>
opt(restore): Sort the buffer before spinning the writeToDisk goroutine (#7984)

Sort the buffer beforehand instead of sorting it in the goroutine used for
writing the buffer t...

196624562acdb611cf724927c280c9e812a05d0f authored over 3 years ago by Ahsan Barkati <[email protected]>
perf(sroar): Use latest sroar and add histogram in the sbs tool (#7982)

This commit brings in sroar with some more optimizations like
cleanup of the bitmap, it also im...

3233a70548c6dfce5484beb8b0f68aaab45a24db authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(acl): filter out the results based on type (#7978) (#7980)

We store the groupId and userId in a predicate named dgraph.xid.There was a subtle bug where if ...

18fd841350f439a79a0b0cdebd740d025f0c6267 authored over 3 years ago by Naman Jain <[email protected]>
fix(contrib/k8s): allow to deploy to cluster with domain name (#7976)

2da78a1c58a1ae9eaec25bb2c70da5926f61f095 authored over 3 years ago by Hongbo Miao <[email protected]>
fix(sbs): Print final result only after all workers are done (#7979)

Print final result only after all workers are done

72265c1fa2fc861ccfedf2c29d8358da2d12f373 authored over 3 years ago by Ahsan Barkati <[email protected]>
contrib: Implement side-by-side comparison tool (#7974)

Add sbs comparison tool, this tool can be used to validate an alpha server
against other alpha ...

845e191fa16e0b8343b39da2bf66a9e3b2db1fea authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(sroar): Bring latest sroar to master (#7977)

Bring the latest sroar to master.

ecc001ff845260ced355a7fb0db12528ae0890f2 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(query): Do not execute filters if there are no source uids (#7962) (#7969)

No need to execute filter subgraph if there are no source UIDs.

(cherry picked from commit 84...

f181a70302c771a2bdcab0f3faf082402c2bec05 authored over 3 years ago by Ahsan Barkati <[email protected]>
feat(restore): Introduce incremental restore (#7942) (#7971)

* feat(restore): Introduce incremental restore (#7942)

This commit introduces incremental res...

9714cc46f057b446c4c6b57cdbd769f5c2e41847 authored over 3 years ago by Ahsan Barkati <[email protected]>
cherry-pick: fix: fixing graphql schema update when the data is restored + skippin… (#7970)

* fix: fixing graphql schema update when the data is restored + skipping /probe/graphql from aud...

6df546f9387958d36a8f8cdad9d0d826d087e788 authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(snapshot): update last snapshot time across members (#7968)

We see frequent snapshots in an HA cluster because of the leadership re-election because of lead...

357d81cde629e9e9447e002503d1942961f0271b authored over 3 years ago by Naman Jain <[email protected]>
fix(pool): use write lock when getting health info (#7963)

b41ff1f8910f6d5d7e289a8697a8507a106a8c42 authored over 3 years ago by Naman Jain <[email protected]>
fix(JoinCluster): Avoid retrying JoinCluster indefinitely (#7961)

If a Zero follower receives a JoinCluster request, it won't process the proposal because it can'...

c2e14760adf34e3e57b8a09610f2f2f2a35aa68b authored over 3 years ago by Manish R Jain <[email protected]>
fix(rollups): Write rolled-up keys at ts+1 (#7957) (#7959)

Write rolled up keys at (max ts of the deltas + 1) because if we write
the rolled-up keys at th...

3831b490c88e3b4467dee95cfcd281e5285a05c9 authored over 3 years ago by Ahsan Barkati <[email protected]>
feat(lambda): store lambda scripts within the dgraph, send it to JS s… (#7955)

Related to dgraph-io/dgraph-lambda#22

This PR changes the way lambda is handled by Dgraph. Ea...

b1266d02a5758c5857b53b1f3a8267b0b1a63623 authored over 3 years ago by Naman Jain <[email protected]>
fix(conn): JoinCluster loop should use latest conn (#7950)

JoinCluster loop was getting the connection from pool upfront, and then looping over it. This op...

7531e95f9854f9f2315e5400a78cf43c080680d6 authored over 3 years ago by Manish R Jain <[email protected]>
fixed example for --cloud command (#7903)

89b3623671a7dd238477d91f9299ce2717fba4ae authored over 3 years ago by OmarAyo <[email protected]>
opt(Alpha): Load schema and types using Stream framework (#7938) (#7940)

For big datasets, we're seeing a big slowdown due to loading schema and types serially using a s...

f8681a22eaf4acba46ffa181dc1d25f9811d4aba authored over 3 years ago by Naman Jain <[email protected]>
fix(restore): Set kv version to restoreTs for rolled up keys and schema keys (#7930) (#7935)

The kv version should be set to restore timestamp for rolled-up keys
and schema keys as well.

a06cf2d78faa61d4c99294df18ea74fb0b85ec3e authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(backup): Fix full backup request (#7932)

The ForceFull parameter was not being passed in the backup request queue,
causing all the back...

8d08cc3368e0aa0113080923772c32593073efbc authored over 3 years ago by Ahsan Barkati <[email protected]>
fix(cmd/debug): Print banned namespaces correctly. (#7929)

Earlier we were showing the opposite status: unbanned namespaces were shown as
banned. This cha...

03284fd522592f99fbf4ace82743c52fc7809527 authored over 3 years ago by Naman Jain <[email protected]>
chore(debug): add summary to show LSM tree and namespace size (#7891) (#7927)

Add --only-summary flag in dgraph debug to show LSM tree and namespace sizes.

(cherry picked ...

78af27f5c529f6bacd0b632ae35379524998d977 authored over 3 years ago by Naman Jain <[email protected]>
fix(GraphQL): Nested Auth Rules not working properly. (#7915)

e7a19317a16214761e0db1f838ba48a0a382f0df authored over 3 years ago by minhaj-shakeel <[email protected]>
fix(groot): do not upsert groot for all namespaces on restart (#7917)

Earlier, whenever the alpha starts(or restarts), we were upserting guardian and groot for all th...

6730f10b62da7c7dc3bf5985ef957f08d3c733b4 authored over 3 years ago by Naman Jain <[email protected]>
handle extend keyword for Queries and Mutations (#7916)

46092682c8ab09ddd5d1222548b7f6d83c5a12e2 authored over 3 years ago by minhaj-shakeel <[email protected]>
Reconnect via a redial in case of disconnection. (#7918)

In case the heartbeats in a connection pool stop, try to re-establish the connection via a redia...

947a62bdc0526caa1985f2e39e6a5525118aaaab authored over 3 years ago by Manish R Jain <[email protected]>
chore(raft): Log packets message less frequently. (#7910)

b8d3487c443d2f75078ce95983646d0f24444d09 authored over 3 years ago by Daniel Mai <[email protected]>