Netflix / astyanax

Cassandra Java Client
Apache License 2.0
1.04k stars 355 forks source link

Signal the ShardReaderPolicy that messages were not processed… #584

Closed khawes closed 9 years ago

khawes commented 9 years ago

… because of an exception while reading the messages (e.g. lock contention prevented reading) This will cause the TimesPartitionedShardReaderPolicy to keep the shard in the work queue in these cases even if the time bucket for the card is no longer current, thus preventing the shard from going idle until the time bucket loops back.