Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

MT-Whisper-Importer-Writer can get stuck on invalid requests #1955

Closed
replay opened this issue Dec 24, 2020 · 1 comment
Closed

MT-Whisper-Importer-Writer can get stuck on invalid requests #1955

replay opened this issue Dec 24, 2020 · 1 comment

Comments

@replay
Copy link
Contributor

replay commented Dec 24, 2020

I have seen a case where a user was trying to import data using a wrong storage-schemas.conf. Because of the wrong storage schemas the importer-writer was trying to write this data into a BT Column Family which did not exist, and failed to do so:

2020-12-24 13:01:46.169 [ERROR] btStore: failed to write 1835 of 1835 rows. first error: rpc error: code = NotFound desc = Error while mutating the row '<Metric ID>' (<BT table>) : Requested column family not found.
2020-12-24 13:02:01.098 [ERROR] btStore: failed to write 6 of 6 rows. first error: rpc error: code = NotFound desc = Error while mutating the row '<Metric ID> (<BT table>) : Requested column family not found.
2020-12-24 13:02:09.133 [ERROR] btStore: failed to write 5000 of 5000 rows. first error: rpc error: code = NotFound desc = Error while mutating the row '<Metric ID>' (<BT table>) : Requested column family not found.

The importer-writer is using the Metrictank store implementation to write data to BT/Cassandra, which retries forever if an insert fails. Because of this unlimited retry behavior the whole write queue was stuck and nothing could be imported anymore. I had to restart the whisper-importer writer to unblock it.

@replay replay added the bug label Dec 24, 2020
@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 2, 2021
@stale stale bot closed this as completed Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant