# "*": "https://raw.githubusercontent.com/wefindx/schema/master/method/oo-item.yaml" # "base:title": "0oo - Automated dump and import" "og:title": "Automated dump and import" "og:description": "select * from table where version > lastUpdate This would get all the records that have been updated since t he last update. We could then import this data. I don't know what to do about data that already exists, we would have to generate update record sql commands. Whenever data is changed, update the lastUpdate field so that the next dump will cover that row." "og:image": "https://avatars0.githubusercontent.com/u/28134655" "og:url": "/method/19001/" "base:css": "/static/css/bootstrap.min.9c25540d6272.css" "base:extra-css": "/static/css/base.57997aeac1df.css" "base:favicon": "/static/favicon.acaa334f0136.ico" "base:body_class": "" "layout:logo": "/static/0oo.8d2a8bbef612.svg" "layout:index": "/" "layout:menu": "/menu/" "layout:categories": "/intents/" "layout:ideas": "/methods/" "layout:projects": "/projects/" "layout:users": "/users/" "layout:about": "/about/" "layout:help": "/help/" "layout:bug_report": "https://github.com/wefindx/0oo" "layout:login": "/accounts/login/" "layout:light-off": "/darken/?darken=true" "layout:set-multilingual": "/mulang/?mulang=true" "layout:lang": "Language" "layout:set-language-post-action": "/i18n/setlang/" "layout:csrf-token": "POfQCZLZPQaiDJqjVvemCBkRj48dpGcdHW00isfPhI08DSXJ6OpGhXYv1HT6LedI" "layout:input-next": "/method/19001/" "layout:languages": [{"code": "ja", "is-active": "false", "name": "日本語"}, {"code": "lt", "is-active": "false", "name": "Lietuviškai"}, {"code": "zh-hans", "is-active": "false", "name": "简体中文"}, {"code": "en", "is-active": "true", "name": "English"}, {"code": "ru", "is-active": "false", "name": "Русский"}, {"code": "oo", "is-active": "false", "name": "O;o,"}] # "item:parent:intents": [{"url": "/intent/20001/", "title": "Multimaster replication"}] "item:title": "Automated dump and import" "item:summary": "We can run a query in each table to dump data that is newer than the last date we checked" "item:voting": +1 "item:voting:add": "/admin/hlog/voting/add/?method=19001" "item:voting:csrf_token": "POfQCZLZPQaiDJqjVvemCBkRj48dpGcdHW00isfPhI08DSXJ6OpGhXYv1HT6LedI" "item:voting:submit-value-option": {"selected": "[-]", "value": "-"} "item:voting:submit-value-option": {"selected": "[+]", "value": "+"} "item:base-administration": false "item:body": | select * from table where version > lastUpdate This would get all the records that have been updated since t he last update. We could then import this data. I don't know what to do about data that already exists, we would have to generate update record sql commands. Whenever data is changed, update the lastUpdate field so that the next dump will cover that row. "item:source-date": "" "item:permalink": "/method/19001/?l=en" "item:owner": "chronological" "item:created": "2021-05-03T20:16:33.531801" "item:ownerlink": "/user/198/chronological" # "item:link:items": "item:link:add": "/admin/hlog/link/add/?parent=19001" "item:project:items": "item:project:add": "/admin/hlog/project/add/?parent=19001" "item:comment:add": "/methods/addnote?parent=19001" "item:comment:add:csrf_token": "POfQCZLZPQaiDJqjVvemCBkRj48dpGcdHW00isfPhI08DSXJ6OpGhXYv1HT6LedI" "item:comment:form": |
  • Mark if the comment raises new questions.
  • Mark if the comment contributes potential solutions.
  • Mark if the comment contributes facts for reasoning.
  • Please, log in. # "item:comment:items": - "id": "a-26001" "text": | The complexity of Multi-Master replication does not stop at looking up what's been new in other replica sites. We could make the data that was created on one node only editable via interacting with that node, but all created by every node replicated to all other nodes. "owner": "Mindey" "ownerlink": "/user/147/Mindey" "permalink": "/method/19001/?l=en#a-26001" "created": "" "base:js": "/static/js/base.c7357c06cc89.js"