Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding new TSM files from snapshot: rename XXX.tsm.tmp XXX.tsm: no such file or directory #8387

Closed
hpbieker opened this issue May 12, 2017 · 0 comments · Fixed by #8416
Assignees

Comments

@hpbieker
Copy link
Contributor

hpbieker commented May 12, 2017

Bug report

System info:
InfluxDB starting, version 1.3.0~n201705050800, branch master, commit 0b018ca

Ubuntu 16.4, x64.

Expected behavior:
No error message about missing .tsm.tmp files.

Actual behavior:
I get error messages about missing .tsm.tmp files during compactions. In total I get 34 such messages for the last 7 days.

May 12th 2017, 09:53:10.000 INFO - beginning full compaction of group 0, 1 TSM files engine=tsm1 - influx-log
May 12th 2017, 09:53:10.000 INFO - beginning full compaction of group 0, 1 TSM files engine=tsm1 - influx-log
May 12th 2017, 09:53:10.000 INFO - compacted full group (0) into /media/db_volume/data/yada/autogen/3346/000000007-000000037.tsm.tmp (#0) engine=tsm1 - influx-log
May 12th 2017, 09:53:10.000 INFO - compacted full 1 files into 1 files in 503.156476ms engine=tsm1 - influx-log
May 12th 2017, 09:53:10.000 INFO - compacting level 3 group (0) /media/db_volume/data/yada/autogen/3345/000000034-000000003.tsm (#0) engine=tsm1 - influx-log
May 12th 2017, 09:53:10.000 INFO - Removing /media/wal_disk/wal/yada/autogen/3346/_00020.wal engine=tsm1 service=wal - influx-log
May 12th 2017, 09:53:10.000 INFO - Snapshot for path /media/db_volume/data/yada/autogen/3346 written in 626.503444ms engine=tsm1 - influx-log
May 12th 2017, 09:53:09.000 INFO - Snapshot for path /media/db_volume/data/yada/autogen/3346 written in 310.809959ms engine=tsm1 - influx-log
May 12th 2017, 09:53:09.000 INFO - Snapshot for path /media/db_volume/data/yada/autogen/3346 deduplicated in 28.958994ms engine=tsm1 - influx-log
May 12th 2017, 09:53:09.000 INFO - 192.168.142.42 - - [12/May/2017:09:53:09 +0200] "GET /query?db=yada&q=DELETE+FROM+%22YADA-FE-LIQUID_RATE%22+WHERE+%28time+%3E%3D+%272017-01-02+00%3A00%3A00%27+AND+time+%3C+%272017-01-29+23%3A58%3A57%27%29 HTTP/1.1" 200 33 "-" "-" 0a4d5297-36e8-11e7-9fae-000000000000 118608 - influx-log
May 12th 2017, 09:53:09.000 INFO - DELETE FROM "YADA-FE-LIQUID_RATE" WHERE (time >= '2017-01-02 00:00:00' AND time < '2017-01-29 23:58:57') service=query - influx-log
May 12th 2017, 09:53:09.000 INFO - Compacting cache for /media/db_volume/data/yada/autogen/3346 engine=tsm1 - influx-log
May 12th 2017, 09:53:09.000 ERROR - error adding new TSM files from snapshot: rename /media/db_volume/data/yada/autogen/3346/000000009-000000001.tsm.tmp /media/db_volume/data/yada/autogen/3346/000000009-000000001.tsm: no such file or directory engine=tsm1 - influx-log
May 12th 2017, 09:53:09.000 ERROR - error writing snapshot: rename /media/db_volume/data/yada/autogen/3346/000000009-000000001.tsm.tmp /media/db_volume/data/yada/autogen/3346/000000009-000000001.tsm: no such file or directory engine=tsm1 - influx-log
May 12th 2017, 09:53:08.000 INFO - compacted full group (0) into /media/db_volume/data/yada/autogen/3345/000000033-000000006.tsm.tmp (#0) engine=tsm1 - influx-log
May 12th 2017, 09:53:08.000 INFO - Compacting cache for /media/db_volume/data/yada/autogen/3346 engine=tsm1 - influx-log
May 12th 2017, 09:53:08.000 INFO - compacted full 1 files into 1 files in 1.376017826s engine=tsm1 - influx-log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants