Skip to content

Commit 98c8e2e

Browse files
author
Matthew Fisher
committed
Revert "feat(database): disable copy on write to improve performance"
This reverts commit 56ee63c.
1 parent 9bf2acd commit 98c8e2e

1 file changed

Lines changed: 0 additions & 3 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

0 commit comments

Comments
 (0)