Initial shard aware driver - #1
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| _sum = (mul1 >> 32) + mul2 | ||
| output = (_sum >> 32) | ||
| print(output) | ||
| output = _sum >> 32 |
There was a problem hiding this comment.
Hmmm... What is this about anyway? ;)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| from cassandra.metadata import Murmur3Token | ||
| class TestShardAware(unittest.TestCase): | ||
| def test_parsing_and_calculating_shard_id(self): |
There was a problem hiding this comment.
The same here: some human readable description please. See examples in (at least mine) dtests.
For instance in hintedhandoff_additional_tests.py.
c619e5b to
16a903dCompare
vladzcloudius
left a comment
There was a problem hiding this comment.
Some more detailed description as to why this patch is needed would ease on the reviewer.
| cassandra_version = Version(mcv_string) | ||
| except: | ||
| cassandra_version = Version('3.11.4') | ||
| cv_string = '3.11.4' |
There was a problem hiding this comment.
cv_string is not initialized outside this branch - looks wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
roydahan
commented
Mar 26, 2020
@fruch any progress with the testing of it? |
ultrabug
left a comment
There was a problem hiding this comment.
Thanks a lot for working on this and sorry for the ridiculous amount of time it took me to review it
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fruch
commented
Mar 29, 2020
We just have unittest and integration tests for it, did got to anything more then that. |
ultrabug
commented
Mar 29, 2020
Once modifications will be done, I'll try to use https://github.com/numberly/cassandra-read-repairer on my staging cluster with this code! |
fruch
commented
Mar 30, 2020
@ultrabug I've address all of you comment here: I would suggest you'll try using that PR branch would be great to how it work on some real data |
added training section to readme file
Temporary PR so we could have comments