The WAL got reloaded according to the logs as shown below

level=info ts=2021-04-24T20:39:54.943Z caller=head.go:768 component=tsdb
msg="WAL segment loaded" segment=77100 maxSegment=77102
level=info ts=2021-04-24T20:39:55.784Z caller=head.go:768 component=tsdb
msg="WAL segment loaded" segment=77101 maxSegment=77102
level=info ts=2021-04-24T20:39:55.785Z caller=head.go:768 component=tsdb
msg="WAL segment loaded" segment=77102 maxSegment=77102
level=info ts=2021-04-24T20:39:55.785Z caller=head.go:773 component=tsdb
msg="WAL replay completed" checkpoint_replay_duration=5.181615782s
wal_replay_duration=1h1m35.275684546s
total_replay_duration=1h1m40.465483949s
level=info ts=2021-04-24T20:40:00.460Z caller=main.go:815
fs_type=EXT4_SUPER_MAGIC
level=info ts=2021-04-24T20:40:00.460Z caller=main.go:818 msg="TSDB started"
level=info ts=2021-04-24T20:40:00.460Z caller=main.go:944 msg="Loading
configuration file" filename=/app/prometheus/conf/prometheus.yml
level=info ts=2021-04-24T20:40:00.470Z caller=main.go:975 msg="Completed
loading of configuration file" filename=/app/prometheus/conf/prometheus.yml
totalDuration=10.262035ms remote_storage=4.813µs web_handler=510ns
query_engine=3.032µs scrape=2.208383ms scrape_sd=166.503µs notify=806.665µs
notify_sd=51.5µs rules=6.276851ms
level=info ts=2021-04-24T20:40:00.470Z caller=main.go:767 msg="Server is
ready to receive web requests."


But I still see the WAL under the data folder, I thought that was supposed
to be deleted?

-rw-r--r-- 1 pro pro 134119424 Apr 11 04:01 00070739

-rw-r--r-- 1 pro pro 132874240 Apr 11 04:04 00070740

-rw-r--r-- 1 pro pro 133693440 Apr 11 04:07 00070741




[ wal]$ ls -l | grep 000 |wc -l

6413

[ wal]$ ls | grep check

*check*point.00070694

*check*point.00070738.tmp

*check*point.00074965.tmp


Does that mean. if I restart Prometheus again will these WALs get loaded?


Cheers

CG

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHjcDeXdE7dy2Gv9viJhqC7k09wdgdzKMCPxmBPGUpzOCnq2Tg%40mail.gmail.com.

Reply via email to