Skip to content

Conversation

fengberlin
Copy link
Contributor

The sync.Map store the value 0, its type is int, but in that code before fixed, the value Load by sync.Map is asserted as int64, so cause the type assert panic.

@fengberlin
Copy link
Contributor Author

Please continue reviewing my reopen PR. Thanks.
@wenfengwang

@wenfengwang wenfengwang linked an issue Jul 5, 2021 that may be closed by this pull request
@wenfengwang wenfengwang changed the title fix: type assert panic [ISSUE #688] fix: type assert panic Jul 5, 2021
@wenfengwang wenfengwang merged commit 2bdc662 into apache:master Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error conversion: int to int64 in the consumer.PullConsumer
2 participants