Possible data loss when renaming a snapshot

Bug #686411 reported by Yuriy Vostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Fix Released
Medium
Roman Tokarev

Bug Description

Current implementation doesn't check existence of target snapshot file before rename. Therefore it is possible to overwrite some existing file ultimately leading to data loss. Consider using link(2) + unlink(2) vs rename(2).

Kostja Osipov (kostja)
summary: - possible-data-loss-then-renaming-snapshot
+ Possible data loss when renaming a snapshot
Kostja Osipov (kostja)
Changed in tarantool:
milestone: none → 2011-01-31
Revision history for this message
Kostja Osipov (kostja) wrote :
Changed in tarantool:
importance: Undecided → Medium
status: New → Won't Fix
status: Won't Fix → Confirmed
Changed in tarantool:
status: Confirmed → Fix Committed
Kostja Osipov (kostja)
Changed in tarantool:
status: Fix Committed → Fix Released
Kostja Osipov (kostja)
Changed in tarantool:
assignee: nobody → Roman Tokarev (roman-s-tokarev)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.