Skip to content

Conversation

mpenick
Copy link
Contributor

@mpenick mpenick commented Aug 2, 2016

No description provided.

mpenick added 3 commits July 13, 2016 16:29
- Token map now uses more efficient data structures
- Avoids allocating memory where possible
- Uses more efficient data types for tokens (for murmur3 and random
  partition tokens)
- Avoids comparing strings in tight loops, but instead uses integers.
- Removes the potential for quadratic runtime complexity in
  configurations where a datacenter exists in keyspace metadata, but
  doesn't have any hosts.
  - Fixes the following issues:
  [CPP-289] Avoid quadratic ring processing with invalid replication
  factors
  [CPP-389] Fix token aware routing issues
@aholmberg
Copy link
Contributor

Here I will review 778f853 and assume any changes discussed in #309 will be merged ahead.

@aholmberg
Copy link
Contributor

+1 pending #309

Pending connections in a pool were incorrectly moved to use a map keyed
by address. This is incorrect as all addresses in a pool use the same
address. The number of connections tend to be extremely small so a
vector is good choice.
@mpenick
Copy link
Contributor Author

mpenick commented Aug 17, 2016

Merged @ 4c744dc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants