Skip to content

Lost records from the Subscribe() channel when records arrive concurrently #526

@merlinran

Description

@merlinran

Reproducible by commit 66af150 . Run following and you'll see some record appears only 2 times, rather than expected 3.

GOTRACEBACK=all  testground run single --wait -p go-threads -t sync-threads -b exec:go -r local:exec -i 2 -tp records=10 -tp verbose=2 | grep "record #" | cut -d ":" -f 4- | sort | uniq -c | sort -r

It doesn't seem to relate to #525 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions