Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Add cluster support #119

Closed
wants to merge 87 commits into from
Closed

Add cluster support #119

wants to merge 87 commits into from

Commits on Apr 6, 2016

  1. Redis cluster. Initial. Processing Moved command.

    It is working only with masters nodes properly.
    trezorg authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    9511837 View commit details
    Browse the repository at this point in the history
  2. Fixed cluster initialization

    trezorg authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    028a03d View commit details
    Browse the repository at this point in the history
  3. Added IntelliJ config file to gitignore.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    4550efb View commit details
    Browse the repository at this point in the history
  4. Tests now run in a sentinel setup.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    75a7fd5 View commit details
    Browse the repository at this point in the history
  5. Added a script to setup an MMM SSS cluster.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    c70678b View commit details
    Browse the repository at this point in the history
  6. Started to make the old tests work against a cluster. Created runclus…

    …tertests.py. Fixed a bug in key_slot.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    865f549 View commit details
    Browse the repository at this point in the history
  7. Fixed key_slot method. Force bytes

    trezorg authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    ab03ae6 View commit details
    Browse the repository at this point in the history
  8. More tests work on a Redis cluster.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    48c72f9 View commit details
    Browse the repository at this point in the history
  9. HLL and sorted set tests work with cluster.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    e622278 View commit details
    Browse the repository at this point in the history
  10. Converted remaining tests to run on a cluster. Except those where fun…

    …ctionality is not implemented yet or doesn't make sense on a cluster.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    0cb598a View commit details
    Browse the repository at this point in the history
  11. Fixed SLOT_ZERO_KEY

    the-panda committed Apr 6, 2016
    Copy the full SHA
    6da6ff9 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    55cc202 View commit details
    Browse the repository at this point in the history
  13. Moved test cluster setup code into own package within aioredis so tha…

    …t it can be imported in application tests.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    e28e5ea View commit details
    Browse the repository at this point in the history
  14. Added reload_cluster_pool. Added methods to TestCluster to trigger fa…

    …ilover.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    f3d5659 View commit details
    Browse the repository at this point in the history
  15. Implemented own cluster configuration script (using sockets). No need…

    … anymore to download the redis-trib.rb file from Redis source.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    6fb63cb View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    ff66641 View commit details
    Browse the repository at this point in the history
  17. Improved socket.recv usage.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    e1c11aa View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    cd44e43 View commit details
    Browse the repository at this point in the history
  19. Added a docstring.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    2848d50 View commit details
    Browse the repository at this point in the history
  20. Properly raise exception on connection problem

    eyj authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    95e7faf View commit details
    Browse the repository at this point in the history
  21. Prepare cluster pool parallelized

    Nasenbaer authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    cd02bb1 View commit details
    Browse the repository at this point in the history
  22. Reset cluster pool after reloading cluster pool not before to prevent…

    … race conditions when accessing the cluster_pool
    Nasenbaer authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    839685b View commit details
    Browse the repository at this point in the history
  23. Access node via its unique id and not by its position in the node list

    Nasenbaer authored and the-panda committed Apr 6, 2016
    Copy the full SHA
    f67bc7a View commit details
    Browse the repository at this point in the history
  24. RedisCluster asks all nodes for cluster info and takes the first retu…

    …rned info. Various improvements.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    69e7262 View commit details
    Browse the repository at this point in the history
  25. Really parallelized get_cluster_pool.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    a47f7be View commit details
    Browse the repository at this point in the history
  26. Fixed tests after merge.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    0421450 View commit details
    Browse the repository at this point in the history
  27. Removed broken iscan method.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    63be672 View commit details
    Browse the repository at this point in the history
  28. Fixed _read_bulk_string_response.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    3bea613 View commit details
    Browse the repository at this point in the history
  29. Improved cluster examples. Now they can be used together with the set…

    …upcluster.py script.
    the-panda committed Apr 6, 2016
    Copy the full SHA
    d0cb2e8 View commit details
    Browse the repository at this point in the history
  30. Improvements in cluster code.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    fd124f9 View commit details
    Browse the repository at this point in the history
  31. Small improvements.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    16d6d84 View commit details
    Browse the repository at this point in the history
  32. Added tests for wait_closed fix.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    d7fc708 View commit details
    Browse the repository at this point in the history
  33. Comply with PEP8.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    7d935c5 View commit details
    Browse the repository at this point in the history
  34. Fixed issues after rebasing.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    99ce27d View commit details
    Browse the repository at this point in the history
  35. Fixed flake8 warnings.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    b7fe4fc View commit details
    Browse the repository at this point in the history
  36. Copy the full SHA
    bfa3650 View commit details
    Browse the repository at this point in the history
  37. Fixed reload_cluster_pool and corresponding test.

    the-panda committed Apr 6, 2016
    Copy the full SHA
    9c2e914 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Make sure fetch cluster info connections are closed (to avoid Pending…

    … Task Destroyed warnings).
    the-panda committed Apr 12, 2016
    Copy the full SHA
    c91510c View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2016

  1. Modified tests so that the runtests script can run both the standalon…

    …e tests and the cluster tests and measure coverage appropriately.
    the-panda committed Apr 13, 2016
    Copy the full SHA
    70fc958 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7e43955 View commit details
    Browse the repository at this point in the history
  3. Hopefully fixed travis.yml file.

    the-panda committed Apr 13, 2016
    Copy the full SHA
    0e2f092 View commit details
    Browse the repository at this point in the history
  4. Fixed example filter in travis script.

    the-panda committed Apr 13, 2016
    Copy the full SHA
    f58f840 View commit details
    Browse the repository at this point in the history
  5. More fixes in Travis script.

    the-panda committed Apr 13, 2016
    Copy the full SHA
    b4702d4 View commit details
    Browse the repository at this point in the history
  6. Setup cluster using the correct version of Redis.

    the-panda committed Apr 13, 2016
    Copy the full SHA
    72707fd View commit details
    Browse the repository at this point in the history
  7. More fixes for Travis.

    the-panda committed Apr 13, 2016
    Copy the full SHA
    3056bea View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. Copy the full SHA
    7a02950 View commit details
    Browse the repository at this point in the history
  2. Fixed EVAL handling on cluster.

    the-panda committed Apr 14, 2016
    Copy the full SHA
    359458a View commit details
    Browse the repository at this point in the history
  3. Removed two unnecessary lines.

    the-panda committed Apr 14, 2016
    Copy the full SHA
    ff80876 View commit details
    Browse the repository at this point in the history
  4. Removed unused method.

    the-panda committed Apr 14, 2016
    Copy the full SHA
    0ee3f5d View commit details
    Browse the repository at this point in the history

Commits on May 2, 2016

  1. Copy the full SHA
    596466f View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. Copy the full SHA
    d0550f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2017

  1. Handle new CLUSTER NODES format in Redis v4.

    the-panda committed Aug 7, 2017
    Copy the full SHA
    7978ce2 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Merge remote-tracking branch 'aio-libs/aioredis/master'

    # Conflicts:
    #	.gitignore
    #	.travis.yml
    #	aioredis/__init__.py
    #	aioredis/connection.py
    #	aioredis/errors.py
    #	aioredis/pool.py
    #	aioredis/util.py
    #	runtests.py
    #	tests/_testutil.py
    #	tests/connection_commands_test.py
    #	tests/connection_test.py
    #	tests/generic_commands_test.py
    #	tests/hash_commands_test.py
    #	tests/hyperloglog_commands_test.py
    #	tests/list_commands_test.py
    #	tests/pool_test.py
    #	tests/pubsub_commands_test.py
    #	tests/reconnect_test.py
    #	tests/scripting_commands_test.py
    #	tests/server_commands_test.py
    #	tests/set_commands_test.py
    #	tests/sorted_set_commands_test.py
    #	tests/string_commands_test.py
    #	tests/transaction_commands_test.py
    lemurchik committed Nov 29, 2017
    Copy the full SHA
    34c2360 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. - Code changes for compatibility with aioredis 1.0.0

    - Changing code for python >= 3.5
    - Finishing all cluster management commands
    - Tests on py.tests for maximum code coverage
    - Fixing some errors
    - Cluster management commands examples
    lemurchik committed Dec 7, 2017
    Copy the full SHA
    e2d59db View commit details
    Browse the repository at this point in the history
  2. Me as contributor

    lemurchik committed Dec 7, 2017
    Copy the full SHA
    140cd42 View commit details
    Browse the repository at this point in the history
  3. Fixing examples

    lemurchik committed Dec 7, 2017
    Copy the full SHA
    ceb65fa View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Fixing examples, again.

    lemurchik committed Dec 8, 2017
    Copy the full SHA
    b193c5f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2017

  1. - Typos fix

    - Variables naming change
    - Functionality improvements
    - Flake8
    - Tests improvements
    lemurchik committed Dec 20, 2017
    Copy the full SHA
    dbf8915 View commit details
    Browse the repository at this point in the history
  2. - Removing unused functionality

    - Additional test for coverage improvement
    - Code improvements
    lemurchik committed Dec 20, 2017
    Copy the full SHA
    d2afece View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2018

  1. Merge pull request #2 from lemurchik/master

    Finishing functionality for redis cluster
    The-Panda committed Jan 4, 2018
    Copy the full SHA
    ae5bbb1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    353b332 View commit details
    Browse the repository at this point in the history
  3. Fix flake8 config.

    the-panda committed Jan 4, 2018
    Copy the full SHA
    fa5e5dd View commit details
    Browse the repository at this point in the history
  4. Fix two typos.

    the-panda committed Jan 4, 2018
    Copy the full SHA
    5c45f71 View commit details
    Browse the repository at this point in the history
  5. Make get_nodes_entities private. Make failover test more robust. Writ…

    …e some tests for normal commands on cluster.
    the-panda committed Jan 4, 2018
    Copy the full SHA
    58d25ad View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'upstream/master'

    the-panda committed Jan 4, 2018
    Copy the full SHA
    1661b06 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Loading cluster info may fail with an OSError.

    the-panda committed Jan 8, 2018
    Copy the full SHA
    4be6b5e View commit details
    Browse the repository at this point in the history
  2. Use pytest tmpdir fixture to create temporary cluster configuration d…

    …irectory.
    the-panda committed Jan 8, 2018
    Copy the full SHA
    7f32a1b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b610af3 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d36ac65 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f97d05e View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Skip cluster tests when using a Redis version < 3.

    the-panda committed Jan 9, 2018
    Copy the full SHA
    d12df11 View commit details
    Browse the repository at this point in the history
  2. Delete old examples

    the-panda committed Jan 9, 2018
    Copy the full SHA
    961a515 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    be48805 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6d08e72 View commit details
    Browse the repository at this point in the history
  5. Exclude testcluster file from coverage. This module is for testing pu…

    …rposes and not tested itself.
    the-panda committed Jan 9, 2018
    Copy the full SHA
    f7d3ddc View commit details
    Browse the repository at this point in the history
  6. Improve _wait_result function in tests.

    the-panda committed Jan 9, 2018
    Copy the full SHA
    21199c0 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    016a4b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Try to avoid timeout in test_del_slots.

    the-panda committed Jan 10, 2018
    Copy the full SHA
    466b4a9 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2018

  1. Fix setupcluster.py script.

    the-panda committed Jan 12, 2018
    Copy the full SHA
    6cd3e31 View commit details
    Browse the repository at this point in the history
  2. Remove unused setup_test_cluster functionality.

    the-panda committed Jan 12, 2018
    Copy the full SHA
    febef4d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. Copy the full SHA
    be08748 View commit details
    Browse the repository at this point in the history
  2. minor refactoring

    mmniaziqb committed May 16, 2018
    Copy the full SHA
    e29ebb4 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. Copy the full SHA
    b51d739 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8129c34 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2018

  1. Copy the full SHA
    f1065ff View commit details
    Browse the repository at this point in the history

Commits on May 28, 2018

  1. Merge pull request #3 from mmniaziqb/master

    Merge latest master
    The-Panda committed May 28, 2018
    Copy the full SHA
    ad9fe2d View commit details
    Browse the repository at this point in the history

Commits on May 29, 2018

  1. Fix tests after making 'many' parameter required.

    the-panda committed May 29, 2018
    Copy the full SHA
    d332e6c View commit details
    Browse the repository at this point in the history