Commits on Oct 9, 2017

  1. Remove schemaState type (use Explicit field instead) (#1608)

    Peter Stace authored Oct 9, 2017
    Configuration menu
    Copy the full SHA
    c082b2a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:dgraph-io/dgraph

    Pawan Rawal committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    1e26d7f View commit details
    Browse the repository at this point in the history
  3. Added Java package option to proto files (#1610)

    liqweed authored and Peter Stace committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    7e5c682 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2017

  1. Merge branch 'release/v0.8.3'

    Pawan Rawal committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    134311b View commit details
    Browse the repository at this point in the history
  2. Get rid of waitForSyncMark and use syncAllMarks in DeletePredicate. T…

    …his fixes #1590.
    Pawan Rawal committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    d90645d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2017

  1. Refactor schema package to remove stateGroup

    Pawan Rawal committed Oct 11, 2017
    Configuration menu
    Copy the full SHA
    f6d17ab View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2017

  1. Share XID map between bulk loader and dgraph client (#1622)

    * Fix client over to xidmap
    
    * Fix bug in shard index calculation
    
    * Prefix keys in dgraph/client (since badger is used both for xids and checkpoints)
    
    * Rename methods on xidmap
    
    * Fix bug in lease file generation
    
    * Allow users to specify performance options
    
    * Add docs
    
    * Don't require the uid provider implementation to accept size
    
    * Fix off-by-one error in uid blocks
    
    * Changes from self review
    
    * Fix in checkpoint reading
    
    * But more explicit about errors
    
    * Review suggesions from Pawan (various)
    Peter Stace authored Oct 12, 2017
    Configuration menu
    Copy the full SHA
    879d630 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ec2585 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d520ab9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e62513 View commit details
    Browse the repository at this point in the history
  5. Ignore nil x.ParsedKey being returned.

    Pawan Rawal committed Oct 12, 2017
    Configuration menu
    Copy the full SHA
    ae4caf5 View commit details
    Browse the repository at this point in the history
  6. copy key in iterator before calling posting.Get

    Janardhan Reddy committed Oct 12, 2017
    Configuration menu
    Copy the full SHA
    81206ed View commit details
    Browse the repository at this point in the history
  7. Fix tests and copy the key.

    Pawan Rawal committed Oct 12, 2017
    Configuration menu
    Copy the full SHA
    babb4ca View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2017

  1. Move mutations out of query

    - Query no longer contains mutations. This means:
      - No more query vars can be used in mutations.
      - No more upserts. They will be done via transactions.
      - Gql doesn't need to parse for mutations or schema mutations.
    - Add a new endpoint called Mutate, just for mutations.
    - Remove http endpoint /query. All read-write ops must be done via a grpc client.
    manishrjain committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    06d576b View commit details
    Browse the repository at this point in the history
  2. 1. Remove Node and Edge from Go client along with associated methods.

    2. Also move all the batching logic to dgraphloader. Users can just create the batch and set via SetObject.
    Pawan Rawal committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    e330125 View commit details
    Browse the repository at this point in the history
  3. Cleanup more code which was handling upsert

    Pawan Rawal committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    d62ff37 View commit details
    Browse the repository at this point in the history
  4. Fix #1620. Don't set schema for _predicate_ on all nodes.

    Pawan Rawal committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    126dfa4 View commit details
    Browse the repository at this point in the history
  5. Remove ToProtobuf function.

    - All responses would now be sent back as JSON bytes in response proto.
    - Latency is part of response proto, not JSON output.
    manishrjain committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    d5ed6fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ddc710d View commit details
    Browse the repository at this point in the history
  7. Jan/txn0, doesn't compile. postings tests pass, will fix worker in ne…

    …xt PR
    
    Add versioning for posting lists
    vendor in latest badger.
    Janardhan Reddy authored Oct 13, 2017
    Configuration menu
    Copy the full SHA
    1251cdd View commit details
    Browse the repository at this point in the history
  8. Tokenizer Plugins (#1630)

    * Get initial prototype working
    
    * Check to make sure predicate is indexed correctly before using custom tokenizer
    
    * Pass custom tokenizers in via flag
    
    * Don't make plugin specify byte
    
    * Add integer factorisation tokenizer (tokens are the prime factors of the int)
    
    * Get tokenizer name from so filename
    
    * Add example 'letter' tokenizer
    
    * Add anagram example
    
    * Use fixed size prefix for each custom tokenizer
    
    * Ensure we don't get two tokenizers with the same hash
    
    * Wrap error from custom tokenizer
    
    * Add better cidr plugin
    
    * Plugin now provides the full interface
    
    * Don't require Tokenizer implementations to prepend identifier byte
    
    * Check for valid tokenizer.Type() value
    
    * Fix assert print
    
    * Fix cidr
    
    * Factor example (for int type)
    
    * Convert to schema type before tokenizing in query
    
    * Don't make implementors have IsSortable and IsLossy
    
    * Fix rune example
    
    * anagram plugin
    
    * Don't attempt coverage report on plugins
    
    * WIP for documentation (no examples yet)
    
    * Code review suggestions from Manish
    
    * Add system tests for plugins (needed to refactor systest to hook it in)
    
    * Add examples to documentation
    Peter Stace authored Oct 13, 2017
    Configuration menu
    Copy the full SHA
    a574fc6 View commit details
    Browse the repository at this point in the history
  9. dgraph, dgraph-live-loader compiles with latest badger api

    TODO:
    1. Need to pass around readTs in worker/task.go
    2. Change export, predicate_move
    Janardhan Reddy committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    cf2842a View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2017

  1. Reduce layers and size of base dockerfile (#1639)

    * Reduce layers and size of base dockerfile
    rodamunoz authored and manishrjain committed Oct 15, 2017
    Configuration menu
    Copy the full SHA
    670315e View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2017

  1. Configuration menu
    Copy the full SHA
    88fe480 View commit details
    Browse the repository at this point in the history
  2. Add endpoint to commit or abort transaction.

    Janardhan Reddy committed Oct 16, 2017
    Configuration menu
    Copy the full SHA
    0bad538 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6811480 View commit details
    Browse the repository at this point in the history
  4. Remove food binary.

    manishrjain committed Oct 16, 2017
    Configuration menu
    Copy the full SHA
    f4d75d0 View commit details
    Browse the repository at this point in the history
  5. pass around readTs for reads

    pass back the keys changed in transaction
    Janardhan Reddy committed Oct 16, 2017
    Configuration menu
    Copy the full SHA
    0427542 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7844d9c View commit details
    Browse the repository at this point in the history
  7. Allow comparison between facets of different type (#1641)

    * Add fix for facet comparison bug for when types are mismatched
    
    * Simplify float vs int comparison, and point out that it won't work for bigger values
    Peter Stace committed Oct 16, 2017
    Configuration menu
    Copy the full SHA
    4d52b38 View commit details
    Browse the repository at this point in the history
  8. Logic for transaction commit

    - Add a lock over primary attribute.
    - Add partial logic for commit or abort.
    - Generate and propagate a transaction context which keeps track of keys and primary attribute.
    - Client uses txn context for mutations, commit and abort.
    manishrjain committed Oct 16, 2017
    Configuration menu
    Copy the full SHA
    e1f2284 View commit details
    Browse the repository at this point in the history
  9. add some tests for txn

    Janardhan Reddy committed Oct 16, 2017
    2 Configuration menu
    Copy the full SHA
    0464190 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2017

  1. Remove alpha badge.

    manishrjain committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    430da42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    898ac24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef4604b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26d3bef View commit details
    Browse the repository at this point in the history
  5. commit/abort primary key first.

    Do commit/abort via proposals.
    Restore primary key from disk.
    Janardhan Reddy committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    8a4b786 View commit details
    Browse the repository at this point in the history
  6. don't abort without proposal

    Janardhan Reddy committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    4844fc6 View commit details
    Browse the repository at this point in the history
  7. Fix write conflict during read

        Test out the conflict fix logic during reads.
        Get primary and start ts both from list.
        Logic to fix conflict for a txn. Also pass read timestamp to all reads in worker/task.
    manishrjain committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    1a75954 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d947e6d View commit details
    Browse the repository at this point in the history
  9. Output "" instead of "_nil_" for empty strings (#1646)

    * Check for "_nil_" for both DefaultID and StringID when generating output nodes
    
    * Fix _nil_ in export
    
    * Add test for export
    Peter Stace committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    cdfd6df View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c235ae8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d333b34 View commit details
    Browse the repository at this point in the history
  12. Remove Dgraph live loader for now. Users should use transactions dire…

    …ctly to update data in live Dgraph.
    manishrjain committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    f328001 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2017

  1. Add experimental loader

    Don't set primary key in client
    Remove touch index key
    Write to disk before aborting/committing txn
    Allow nquads in client, pass back the primary if already set.
    Janardhan Reddy committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    4796452 View commit details
    Browse the repository at this point in the history
  2. Move live loader code from experimental to the original dir. This cod…

    …e is a simplified version of the previous loader code.
    manishrjain committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    b13deee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a42bdbe View commit details
    Browse the repository at this point in the history
  4. Ability to fix conflicts during writes. Send txncontext back even if …

    …there's an error. Various other conflict detection mechanisms to improve throughput.
    manishrjain committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    ee15c04 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2017

  1. Write deltas to disk only when committed.

    Fix export, snapshot to use new iterator
    Don't evict pl if it has pending mutation.
    Special Handling for schema mutations.
    Janardhan Reddy committed Oct 24, 2017
    Configuration menu
    Copy the full SHA
    9da6611 View commit details
    Browse the repository at this point in the history
  2. Don't allow uid as argument in root function (#1659)

    * Disallow "uid" as argument for functions
    
    * Add unit test
    Peter Stace committed Oct 24, 2017
    Configuration menu
    Copy the full SHA
    2386ddb View commit details
    Browse the repository at this point in the history