3 ms·
> We then made the following changes to the subscriber database in order to speed up the synchronization: [...] Set fsync to off I'm curious how much risk of d
by shoo 6y ago
> We then made the following changes to the subscriber database in order to speed up the synchronization: [...] Set fsync to off
I'm curious how much risk of data loss this added.
I guess the baseline is "we need to migrate before we run out of disk" I.e. you're either going to have data loss or a long period of unavailability if the migration cannot be carried out fast enough.
- ants_a 6y agoIf fsync is turned back on and a manual sync call is issued before considering the replica valid there will be no risk from this.
- tommyzli 6y agoants_a is correct. Also, our NVMe storage is ephemeral so you aren't recovering from a power loss anyways :)
- rubiquity 6y agoDisclaimer: I work at AWS, not on EC2. Locally attached disks are not ephemeral to instance reboots/power failures. However, the disks are wiped after instance terminations. On the official EC2 product pages this is called "instance storage" not "ephemeral storage."