shoenig / go-mqtt

A development fork of the Eclipse Paho Go MQTT client
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.golang.git/
Eclipse Public License 1.0
13 stars 6 forks source link

filestore should create backup file of existing message before overwriting #10

Closed shoenig closed 10 years ago

shoenig commented 10 years ago

In the unlikely, but possible scenario where the client crashes while writing to disk, them message being written at that time could be lost.