Skip to content

Dgraph v1.0.9

Compare
Choose a tag to compare
@danielmai danielmai released this 03 Oct 00:43
· 3209 commits to master since this release
v1.0.9
22c13fc

Changes

  • Rename intern pkg to pb (#2608)

Improvements

  • Remove LinRead map logic from Dgraph (#2570)
  • Sanity length check for facets mostly.
  • Make has function correct w.r.t. transactions (#2585)
  • Increase the snapshot calculation interval, while decreasing the min number of entries required; so we take snapshots even when there's little activity.
  • Convert an assert during DropAll to inf retry. (#2578)
  • Fix a bug which caused all transactions to abort if --expand_edge was set to false. Fixes #2547.
  • Set the Applied index in Raft directly, so it does not pick up an index older than the snapshot. Ensure that it is in sync with the Applied watermark. Fixes #2581.
  • Pull in Badger updates. This also fixes the Unable to find log file, retry error.
  • Improve efficiency of readonly transactions by reusing the same read ts (#2604)
  • Fix a bug in Raft.Run loop. (#2606)
  • Fix a few issues regarding snapshot.Index for raft.Cfg.Applied. Do not overwrite any existing data when apply txn commits. Do not let CreateSnapshot fail.
  • Consider all future versions of the key as well, when deciding whether to write a key or not during txn commits. Otherwise, we'll end up in an endless loop of trying to write a stale key but failing to do so.
  • When testing inequality value vars with non-matching values, the response was sent as an error although it should return empty result if the query has correct syntax. (#2611)
  • Switch traces to glogs in worker/export.go (#2614)
  • Improve error handling for dgraph live for errors when processing RDF and schema files. (#2596)
  • Fix task conversion from bool to int that used uint32 (#2621)
  • Fix expand(_all_) in recurse queries (#2600).
  • Add language aliases for broader support for full text indices. (#2602)

Features

  • This version switches Badger Options to reasonable settings for p and w directories. This removes the need to expose --badger.options option and removes the none option from --badger.vlog. (#2605)
  • Add support for ignoring parse errors in bulk loader with the option --ignore_error. (#2599)
  • Introduction of new command dgraph cert to simplify initial TLS setup. See TLS configuration docs for more info. This is also a breaking change that removes functionality (see below).
  • The command dgraph server now accepts a --tls_dir option that specifies the directory of certificates to use. This directory can be created with dgraph cert.
  • Add expand(_forward_) and expand(_reverse_) to GraphQL+-. If _forward_ is passed as an argument to expand(), all predicates at that level (minus any reverse predicates) are retrieved.
    If _reverse_ is passed as an argument to expand(), only the reverse predicates are retrieved.

Removed

  • Password-protected TLS certificates are no longer supported. The flag --tls_cert_key_passphrase has been removed from dgraph server.
  • The options to configure TLS between clients/servers has been simplified to point to a directory containing certificates. The following options have been removed: --tls_on, --tls_cert, --tls_cert_key, --tls_min_version, and --tls_max_version .