p2p: remove wdrr queue (#7064)

This code hasn't been battle tested, and seems to have grown
increasingly flaky int tests. Given our general direction of reducing
queue complexity over the next couple of releases I think it makes
sense to remove it.
This commit is contained in:
Sam Kleinman
2021-10-05 20:09:31 +00:00
committed by GitHub
parent 5703ae2fb3
commit 3ea81bfaa7
9 changed files with 11 additions and 522 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ var (
// separate testnet for each combination (Cartesian product) of options.
testnetCombinations = map[string][]interface{}{
"topology": {"single", "quad", "large"},
"queueType": {"priority"}, // "fifo", "wdrr"
"queueType": {"priority"}, // "fifo"
"initialHeight": {0, 1000},
"initialState": {
map[string]string{},
+1 -1
View File
@@ -347,7 +347,7 @@ func (n Node) Validate(testnet Testnet) error {
return fmt.Errorf("invalid mempool version %q", n.Mempool)
}
switch n.QueueType {
case "", "priority", "wdrr", "fifo":
case "", "priority", "fifo":
default:
return fmt.Errorf("unsupported p2p queue type: %s", n.QueueType)
}