Refactor Internal Requests, Results to use Structures

Environment

None

Pull Requests

None

Activity

Show:
Jim Witschey
June 9, 2017, 4:46 AM

Some good candidates for this:

  • The tuples in connection.Connection._requests's values (linked above)

  • The tuples returned by cluster.ResponseFuture.result (linked above)

  • The tuples returned by pool.HostConnection.borrow_connection

Jim Witschey
October 10, 2017, 2:21 AM

We've taken a (very slightly) different approach in the DSE driver. Compare this C* driver code to its counterpart in the DSE driver codebase – the DSE driver sets values on a ResultMessage object that gets passed around.

Jim Witschey
November 14, 2018, 8:17 AM

Example patch for this, found during cleanup of some old branches:

Alan Boudreault
February 28, 2020, 8:20 AM

The code changed a bit since the ticket creation. It is still valid for:

  • connection.Connection._request

  • pool.HostConnection.borrow_connection

I don't think this need to be done in a major.

Assignee

Unassigned

Reporter

Adam Holmberg

Fix versions

None

Labels

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Priority

Major