Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7fd75c9
MINOR: Add RaftReplicaManager
rondagostino Feb 5, 2021
807254e
Process deferred vs. not states separately
rondagostino Feb 5, 2021
6f4f211
Eliminate occurences of HostedPartition.Deferred(_, _, _, _, _)
rondagostino Feb 5, 2021
a9ca0bd
Move deferred status into MetadataPartition
rondagostino Feb 5, 2021
a2911fb
Merge remote-tracking branch 'apache/trunk' into kip500_ReplicaManage…
rondagostino Feb 6, 2021
c4bdca5
Use RaftMetadataCache for deferred partition state
rondagostino Feb 6, 2021
7d2bc2f
Lock down scope of some variables a bit tighter
rondagostino Feb 6, 2021
0fd6fc4
Minor cleanups on logging and sanity checks
rondagostino Feb 6, 2021
4b2730e
Use val instead of literal 0 for default value
rondagostino Feb 6, 2021
3349798
No need for 2 metadata caches
rondagostino Feb 6, 2021
1eb78a7
First test, add RaftReplicaChangeDelegate for future tests
rondagostino Feb 7, 2021
afab6d4
Add missing license
rondagostino Feb 7, 2021
f09e009
adjust comments as per review
rondagostino Feb 8, 2021
4118eaf
Use Mockito instead of EasyMock
rondagostino Feb 8, 2021
0bd5f92
Add testDefersChangesImmediately()
rondagostino Feb 8, 2021
f25553f
testDefersChangesImmediatelyThenAppliesChanges()
rondagostino Feb 8, 2021
6c04b6a
Verify onLeadershipChange() callbacks
rondagostino Feb 8, 2021
684afba
Add testAppliesChangesWhenNotDeferring(), some test refactoring
rondagostino Feb 9, 2021
45affcc
Eliminate defer info in MetadataPartition
rondagostino Feb 9, 2021
5845991
Don't track individual onLeadershipChange() callbacks
rondagostino Feb 10, 2021
68635d6
Rename nextBrokers() => brokers()
rondagostino Feb 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class DelayedDeleteRecords(delayMs: Long,
(false, Errors.NOT_LEADER_OR_FOLLOWER, DeleteRecordsResponse.INVALID_LOW_WATERMARK)
}

case HostedPartition.Deferred(_) =>
case HostedPartition.Deferred(_, _, _, _, _) =>
Comment thread
rondagostino marked this conversation as resolved.
Outdated
(false, Errors.UNKNOWN_TOPIC_OR_PARTITION, DeleteRecordsResponse.INVALID_LOW_WATERMARK)

case HostedPartition.Offline =>
Expand Down
Loading