aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2020-07-12 19:16:37 -0700
committerzotlabs <mike@macgirvin.com>2020-07-12 19:16:37 -0700
commitc0735a5ca20ea5612d475f50eb802cb1cd92cab5 (patch)
treeabc33f7364ced9eb6036440a6a63c83b317e32fa
parentfa752b0ac1bf4c0b19fcb0f7ff7dcfa3b3b90078 (diff)
downloadvolse-hubzilla-c0735a5ca20ea5612d475f50eb802cb1cd92cab5.tar.gz
volse-hubzilla-c0735a5ca20ea5612d475f50eb802cb1cd92cab5.tar.bz2
volse-hubzilla-c0735a5ca20ea5612d475f50eb802cb1cd92cab5.zip
z6trans: don't swap xprof xchans on directory servers because it will fail with duplicate primary key in many cases and the migration will fail on each channel. What this means is that directory servers may take time to pick up zot6 entries if they haven't received them prior to the upgrade. I don't see an easier solution unless we check for existence of the zot6 xchan_hash in the xprof table before converting it.
-rw-r--r--Zotlabs/Module/Z6trans.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Z6trans.php b/Zotlabs/Module/Z6trans.php
index 98832ad98..58dc09a51 100644
--- a/Zotlabs/Module/Z6trans.php
+++ b/Zotlabs/Module/Z6trans.php
@@ -119,7 +119,7 @@ class Z6trans extends Controller {
'xconfig' => ['xchan', 'v'],
'xign' => ['xchan'],
'xlink' => ['xlink_xchan', 'xlink_link'],
- 'xprof' => ['xprof_hash'],
+// 'xprof' => ['xprof_hash'],
'xtag' => ['xtag_hash'],
];