Skip to content

receive: Overhaul start up sequence#2892

Merged
bwplotka merged 7 commits intothanos-io:masterfrom
kakkoyun:receive_shutdown_logs
Jul 23, 2020
Merged

receive: Overhaul start up sequence#2892
bwplotka merged 7 commits intothanos-io:masterfrom
kakkoyun:receive_shutdown_logs

Conversation

@kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Jul 14, 2020

Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com

  • I added CHANGELOG entry for this change.

Changes

  • Add more logs for receive start and shutdown sequence.
  • Merge uploader routines (on-demand and recurring).
  • Receive now fails if initial upload fails.

Verification

  • make test-local
  • MINIO_ENABLED=1 REMOTE_WRITE_ENABLED=1 ./scripts/quickstart.sh

Add more logs fo receive

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Generally ok, some comments on details. Upload flag is non trivial, let's be careful - despite it being hidden

Copy link
Member

@squat squat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some small comments and one thing that may be confusing for users

@kakkoyun kakkoyun force-pushed the receive_shutdown_logs branch from bab4e1b to 5d6a04c Compare July 14, 2020 15:24
Merge uploader routines

Address review issues

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun force-pushed the receive_shutdown_logs branch from 5d6a04c to 437c7b6 Compare July 14, 2020 15:26
kakkoyun added 2 commits July 14, 2020 17:40
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun requested a review from bwplotka July 15, 2020 14:15
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, just some nits. The biggest thing is with the timeout, I think we need to improve it before merge.

Thanks!

kakkoyun added 2 commits July 20, 2020 10:35
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun force-pushed the receive_shutdown_logs branch from 5f8d249 to d9ced69 Compare July 20, 2020 09:41
@kakkoyun kakkoyun changed the title receive: Add timeout for uploads receive: Overhaul start up sequence Jul 20, 2020
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you this will help enourmously with clear messages 💪

@bwplotka bwplotka merged commit b4d42ef into thanos-io:master Jul 23, 2020
@kakkoyun kakkoyun deleted the receive_shutdown_logs branch July 23, 2020 17:49
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.

4 participants