diff options
author | Marco Boss <bossm8@bfh.ch> | 2022-04-02 18:43:49 +0200 |
---|---|---|
committer | Marco Boss <bossm8@bfh.ch> | 2022-04-02 18:43:49 +0200 |
commit | ae75ff2cb4f0b7322a9f0451acaadfb7b7514b54 (patch) | |
tree | 815a2bdc75d437f733ec8f60b8d150f915ea9540 /src/exchangedb/Makefile.am | |
parent | caabee9e9482b0e2553172ce17676a0ad89b38ff (diff) | |
download | exchange-ae75ff2cb4f0b7322a9f0451acaadfb7b7514b54.tar.xz |
extend sharding logic that shard nodes can be initialied and dropped
Diffstat (limited to 'src/exchangedb/Makefile.am')
-rw-r--r-- | src/exchangedb/Makefile.am | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am index f525f341a..0470887de 100644 --- a/src/exchangedb/Makefile.am +++ b/src/exchangedb/Makefile.am @@ -21,27 +21,38 @@ sql_DATA = \ exchange-0001.sql \ shard-0000.sql \ shard-0001.sql \ + shard-drop0001.sql \ drop0001.sql BUILT_SOURCES = \ shard-0000.sql \ shard-0001.sql \ - exchange-0001.sql + exchange-0001.sql \ + drop0001.sql \ + shard-drop0001.sql CLEANFILES = \ shard-0000.sql \ shard-0001.sql \ - exchange-0001.sql + exchange-0001.sql \ + drop0001.sql \ + shard-drop0001.sql exchange-0001.sql: common-0001.sql exchange-0001-part.sql cat common-0001.sql exchange-0001-part.sql >$@ -shard-0001.sql: common-0001.sql - cp common-0001.sql $@ +shard-0001.sql: common-0001.sql shard-0001-part.sql + cat common-0001.sql shard-0001-part.sql >$@ shard-0000.sql: exchange-0000.sql cp exchange-0000.sql $@ +drop0001.sql: drop-common.sql drop0001-exchange-part.sql + cat drop-common.sql drop0001-exchange-part.sql >$@ + +shard-drop0001.sql: drop-common.sql drop0001-shard-part.sql + cat drop-common.sql drop0001-shard-part.sql >$@ + EXTRA_DIST = \ exchangedb.conf \ exchangedb-postgres.conf \ |