Code Monkey home page Code Monkey logo

Comments (5)

yeya24 avatar yeya24 commented on July 21, 2024

@BouchaaraAdil Have you checked your compactor metrics? Is it in halt status?

thanos_compact_halted you can find it via this metric.

https://thanos.io/tip/operating/compactor-backlog.md/#make-sure-compactors-are-running

from thanos.

BouchaaraAdil avatar BouchaaraAdil commented on July 21, 2024

@yeya24 yes i already did the value is: 0

logs are mostly like:

	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=7m8.010456222s duration_ms=428010 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=7m8.234159055s duration_ms=428234 cached=24894 returned=24894 partial=0	
caller=blocks_cleaner.go:58 level=info msg="cleaning of blocks marked for deletion done"	
caller=blocks_cleaner.go:44 level=info msg="started cleaning of blocks marked for deletion"	
caller=clean.go:61 level=info msg="cleaning of aborted partial uploads done"	
caller=clean.go:34 level=info msg="started cleaning of aborted partial uploads"	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=8m35.588933685s duration_ms=515588 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=8m35.392333486s duration_ms=515392 cached=24894 returned=24894 partial=0	
caller=blocks_cleaner.go:58 level=info msg="cleaning of blocks marked for deletion done"	caller=blocks_cleaner.go:44 level=info msg="started cleaning of blocks marked for deletion"	
caller=clean.go:61 level=info msg="cleaning of aborted partial uploads done"	
caller=clean.go:34 level=info msg="started cleaning of aborted partial uploads"	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=8m11.753199423s duration_ms=491753 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=8m11.674345163s duration_ms=491674 cached=24894 returned=24894 partial=0	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=7m35.466654203s duration_ms=455466 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=7m35.686672464s duration_ms=455686 cached=24894 returned=24894 partial=0	
caller=blocks_cleaner.go:58 level=info msg="cleaning of blocks marked for deletion done"	
caller=blocks_cleaner.go:44 level=info msg="started cleaning of blocks marked for deletion"	
caller=clean.go:61 level=info msg="cleaning of aborted partial uploads done"	
caller=clean.go:34 level=info msg="started cleaning of aborted partial uploads"	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=6m37.443088828s duration_ms=397443 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=6m36.845099529s duration_ms=396845 cached=24894 returned=24894 partial=0	
caller=blocks_cleaner.go:58 level=info msg="cleaning of blocks marked for deletion done"	
caller=blocks_cleaner.go:44 level=info msg="started cleaning of blocks marked for deletion"	
caller=clean.go:61 level=info msg="cleaning of aborted partial uploads done"	
caller=clean.go:34 level=info msg="started cleaning of aborted partial uploads"	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=6m39.587074548s duration_ms=399587 cached=24894 returned=24894 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18750	
caller=fetcher.go:407 level=debug component=block.BaseFetcher msg="fetching meta data" concurrency=60	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=6m40.384243402s duration_ms=400384 cached=24894 returned=24894 partial=0	
caller=fetcher.go:557 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=6m54.588252009s duration_ms=414588 cached=24894 returned=24791 partial=0	
caller=fetcher.go:820 level=debug msg="removed replica label" label=prometheus_replica count=18647	
caller=fetcher.go:867 level=debug msg="block is too fresh for now" block=01HSJP6XN8DPDBJ9XHZTTWDWRD	
caller=fetcher.go:867 level=debug msg="block is too fresh for now" block=01HSJP6XKT2BVBNEB3THRGR0WC	
caller=fetcher.go:867 level=debug msg="block is too fresh for now" block=01HSJP6X2G14XJ04WJ53CZXRKC	
caller=fetcher.go:867 level=debug msg="block is too fresh for now" block=01HSJP6WVZ01H29HPT1QGK07T5	

and the rate of compaction is very low, it starts only after recreating the compactor pod, when I removed the vertical compaction, the compaction rate was high and started to compact even fresher blocks of 2hours to 8,6 hours

Screen Shot 2024-03-22 at 11 18 55

from thanos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.