Skip to content

Remove ShardedJedisPipeline class #2488

@sazzad16

Description

@sazzad16

ShardedJedisPipeline class should be removed. There are several fundamental flaws regarding the idea and implementation of this class.

  • It captures the Client objects:
    • never to release those
    • never to clean those properly
    • never to flag those as broken when appropriate
  • There is a getResults() method without any tests.
  • That getResults() method is based on a private class FutureResult. There is a List<FutureResult> results in ShardedJedisPipeline. Remember that it is a sub-class of Queable which contains Queue<Response<?>> pipelinedResponses. These two data structures are contradictory and breaks each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions