8000 [Bug] BTC/LTC/ZEC jobmaker 重启后可能长时间未就绪 | 关于代码中btc Kafka消费偏移量的疑问 · Issue #450 · btccom/btcpool-ABANDONED · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug] BTC/LTC/ZEC jobmaker 重启后可能长时间未就绪 | 关于代码中btc Kafka消费偏移量的疑问 #450
Open
@rocqina

Description

@rocqina

请教一个问题

https://github.com/btccom/btcpool/blob/75e57300ed9486ea1889e7bece18efd523233b2f/src/bitcoin/JobMakerBitcoin.cc#L105

为什么设置偏移量是1,每次jobmaker重启的时候从位置1开始读取,导致了大量的无效gbt被消费。

如果设置成-1,每次读取最新的消息,为什么不这样做

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixedneed dataData is required to prove that the modification has no harmful effectsneed more feedback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0