Skip to content
Permalink
Branch: master
Commits on Jun 12, 2019
  1. new/manipmongo: better sharding interface (#87)

    primalmotion committed Jun 12, 2019
    * new: better sharding
    
    * new/manipmongo: add helper Ensureindexes()
    
    Works like CreateIndexes, but will delete and recreate
    if it gets the error telling options changed
    
    * new: added option to force a read filter
    
    * added a few unit tests
    
    * style
    
    * fixed: change order to call
    
    * fixed: call OnShardedWrite after the delete not before
    
    * fixed: move the OnShardedWrite AFTER creation
Commits on Jun 6, 2019
  1. new: added manipulate.IterUntilFunc

    primalmotion committed Jun 6, 2019
Commits on Jun 5, 2019
  1. fixed: panic in certain circumstances (#86)

    primalmotion committed Jun 5, 2019
    This patch should fix the case where send
    function can return a nil error and a nil
    response when retrying auth auth is while the context just got expired.
Commits on Jun 1, 2019
  1. fixed: go routines accumulation

    primalmotion committed Jun 1, 2019
    This seems to be due to a combination of factors making http Client leaks go routines if Client.Timeout is too high, even when context is canceled.
Commits on May 31, 2019
  1. new: support for auto retry (#85)

    primalmotion committed May 31, 2019
    * new/maniphttp: improve timeouts and retry logic
    
    This patch makes manipulate.Retry useless as retry mechanism
    is baked into manipulate.
    
    * TCP dial has a fixed timeout of 5s. if manip cannot connect in that
    time, it will retry
    
    * The `context.Context` you pass in `manipulate.Context`
    will determine for how long you are willing to wait for the
    backend to reply. Any communication errors automatically
    trigger a retry with exponential backoff up to 8s until the
    given context reaches its deadline
    
    * When you don't pass a `mctx` to an operation, the default
    timeout it 60s
    
    * If you pass `context.Background` you will retry forever
    
    * you can customize the timeout of a single try by using
    the option `manipulate.ContextOptionRequestTimeout(time.Duration)`
    
    * You can pass a function that will be called on retry with the option
    `manipulate.ContextOptionRetryFunc()`
    
    * fixed: various mistakes
    
    * fixed: remove internal use of manipulate.Retry
    
    * fixed: remove another instance of Retry
    
    * new: support for auto retry in manipmongo
    
    * lint + tests
    
    * tests: added more unit tests
    
    * new: adjust timeouts
    
    * fixed: simplify send
    
    * rewrite send func
    
    * disable timeouts
    
    * fixed: disable custom gzip compression
    
    * new: added option to disable compression
    
    * new: use new POST return code
    
    * fixed: lint
    
    * align apis
    
    * bump: timeout
    
    * better interface for retry info
    
    * fixed: lint
    
    * cut the main retry context into smaller chunks
    
    * remove debug print
    
    * typo
    
    * unit tests
    
    * fixed: unit test behavior on linux
    
    * unit tests
    
    * lint
    
    * concourse is sometimes slow...
    
    * unit tests
    
    * new: make retry ratio configurable
    
    * simplify api for RunQuery
    
    * lint
Commits on May 21, 2019
  1. new/maniphttp: added method DirectSend (#84)

    primalmotion committed May 21, 2019
    * new/maniphttp: added method DirectSend
    
    * lint
    
    * lint again
  2. fixed: deadlock in flush (#82)

    primalmotion committed May 21, 2019
    * fixed: deadlock in flush
    
    this patches fixes a dead lock when Flush is called while the manipulator has a prefetcher
    
    * fixed: data race
Commits on May 2, 2019
  1. new: move Filtering out of elemental (#78)

    primalmotion committed May 2, 2019
    * new: move manipulate.Filter in elemental
    
    * new: added type alias for backward compat
    
    * fixed: lint
Commits on May 1, 2019
  1. fixed: update readme

    primalmotion committed May 1, 2019
  2. new: licensing

    primalmotion committed May 1, 2019
Commits on Apr 25, 2019
  1. fixed: use content-type to decode

    primalmotion committed Apr 25, 2019
    This patch makes use of server response Content-Type header to decode data instead of blindly use configured internal encoding
Commits on Apr 17, 2019
  1. new/maniphttp: added ExtractEncoding helper

    primalmotion committed Apr 17, 2019
Commits on Apr 16, 2019
  1. new: support custom encoding (#77)

    primalmotion committed Apr 16, 2019
    * new: support for arbitrary wire encoding
    
    * working checkpoint
    
    * use elemental.Encoding
    
    * fixed: test
Commits on Apr 10, 2019
  1. fixed: better error

    primalmotion committed Apr 10, 2019
Commits on Apr 8, 2019
  1. new/maniphttp: set idempotency key for create/update (#75)

    primalmotion committed Apr 8, 2019
    * new/maniphttp: set idempotency key for create/update
    
    * fixed: reset idempotencykey on success
    
    * breaking: remove variadic from manipulator interface
Commits on Apr 5, 2019
  1. lint: use staticcheck + fixes

    primalmotion committed Apr 5, 2019
  2. fixed: no need for an additional channel

    primalmotion committed Apr 5, 2019
Commits on Apr 4, 2019
  1. new: renew token inband instead of disconnecting

    primalmotion committed Apr 4, 2019
Commits on Mar 29, 2019
  1. fixed.manipmongo: always use $set in update

    primalmotion committed Mar 29, 2019
Commits on Mar 28, 2019
  1. fixed: don't read the same buffer twice

    primalmotion committed Mar 28, 2019
Commits on Mar 26, 2019
  1. tests: added missing unit test

    primalmotion committed Mar 26, 2019
  2. new/maniphttp: built in retry

    primalmotion committed Mar 26, 2019
  3. fixed/maniphttp: correctly retry resend and refactor

    primalmotion committed Mar 26, 2019
Commits on Mar 25, 2019
  1. fixed: use RWMutex instead of Mutex in http subscriber

    primalmotion committed Mar 25, 2019
Commits on Mar 22, 2019
  1. new: use options for maniphttp.NewSubscriber

    primalmotion committed Mar 22, 2019
Commits on Mar 14, 2019
  1. fixed/manipmongo: consider null to be false in filter

    primalmotion committed Mar 14, 2019
Commits on Mar 7, 2019
  1. new: use reconcilers (#74)

    primalmotion committed Mar 7, 2019
    * new/manipvortex: added Accepter
    
    * new: use reconcilers
    
    * new/manipmemory: added support for Match on prefix only
    
    * fixed: style
    
    * fixed/manipmemory: use filters in count
    
    * new: allow missing indexes
    
    * fixed: re warm up after a Flush
    
    * fixed: style
    
    * fixed/maniptest: style
    
    * small fixes
    
    * removed commented code
    
    * fixed: consistency
    
    * fixed/maniphttp: ExtractTLSConfig returns a copy of tls.Config
    
    * added more unit tests
Commits on Feb 28, 2019
  1. new: use manipulate consistency (#72)

    primalmotion committed Feb 28, 2019
    * Add prefetch and lazyload
    
    * Derive the context
    
    * new: use manipulate consistency
    
    * new: added option OptionTransactionQueueDuration
    
    * new: use IterFunc
    
    * merge other pr in
    
    * new: implement generic Prefetcher
    
    * sads
    
    * fixes in prefetching
    
    * lint
    
    * simplify api
Commits on Feb 27, 2019
  1. fixed: resend the filter after disconnection

    primalmotion committed Feb 27, 2019
Commits on Feb 26, 2019
  1. new: added Iter and IterFunc methods

    primalmotion committed Feb 26, 2019
Commits on Feb 22, 2019
  1. fixed: don't consider tls error as communication error

    primalmotion committed Feb 22, 2019
Older
You can’t perform that action at this time.