Skip to content

Commit d146965

Browse files
author
Matthew Fisher
committed
Merge pull request #2708 from bacongobbler/revert-cow
fix(database): revert copy-on-write
2 parents 9bf2acd + b6a2505 commit d146965

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

database/bin/boot

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ if [[ ! -f /var/lib/postgresql/9.3/main/initialized ]]; then
7272
if [[ `envdir /etc/wal-e.d/env wal-e --terse backup-list | wc -l` -gt "1" ]]; then
7373
echo "database: restoring from backup..."
7474
rm -rf /var/lib/postgresql/9.3/main
75-
mkdir -p /var/lib/postgresql/9.3/main
76-
# disable copy-on-write
77-
chattr -R +C /var/lib/postgresql/9.3/main
7875
sudo -u postgres envdir /etc/wal-e.d/env wal-e backup-fetch /var/lib/postgresql/9.3/main LATEST
7976
chown -R postgres:postgres /var/lib/postgresql/9.3/main
8077
chmod 0700 /var/lib/postgresql/9.3/main

database/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cd /tmp
3636
git clone https://github.com/wal-e/wal-e.git
3737

3838
cd /tmp/wal-e
39-
git checkout c6f0d02
39+
git checkout dbf9783
4040

4141
pip install .
4242

0 commit comments

Comments
 (0)