Skip to content

Instantly share code, notes, and snippets.

@michael-grunder
Created June 18, 2018 01:07
Show Gist options
  • Save michael-grunder/4716cb8b198940ac87a0a017f594ee8d to your computer and use it in GitHub Desktop.
Save michael-grunder/4716cb8b198940ac87a0a017f594ee8d to your computer and use it in GitHub Desktop.
Commands to cause crash
"XADD" "{s}-2" "*" "field" "value:2"
"XGROUP" "CREATE" "{s}-2" "g1" "0"
"XGROUP" "CREATE" "{s}-2" "g2" "0"
"DEL" "{s}-1"
"XADD" "{s}-1" "*" "field" "value:0"
"XGROUP" "CREATE" "{s}-1" "g1" "0"
"XGROUP" "CREATE" "{s}-1" "g2" "0"
"XADD" "{s}-2" "*" "field" "value:0"
"XREADGROUP" "GROUP" "g1" "consumer" "COUNT" "1" "STREAMS" "{s}-1" "{s}-2" "0" "0"
"DEL" "{s}-1"
"XADD" "{s}-1" "*" "field" "value:0"
"XGROUP" "CREATE" "{s}-1" "g1" "0"
"XGROUP" "CREATE" "{s}-1" "g2" "0"
"DEL" "{s}-2"
"XADD" "{s}-2" "*" "field" "value:0"
"XGROUP" "CREATE" "{s}-2" "g1" "0"
"XGROUP" "CREATE" "{s}-2" "g2" "0"
"XREADGROUP" "GROUP" "g1" "consumer" "COUNT" "2" "STREAMS" "{s}-1" "{s}-2" "0" "0"
"DEL" "{s}-1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment