shared-owner attribute lost during migration
Hi, on the branch release/CalendarServer-9.1 I have run the podA & podB server setup and tested the migration of user01 from podA to podB. Before migrating, I share user01's calendar to user02. After the migration, I observe that the shared calendar is partly broken: user02 on podA still views the calendar as shared from user01, but user01 seems to have lost the shared-owner information about this calendar. I think I might have figured out the problem: The 'shared' value in the message column in the calendar_bind table is not copied from podA to podB during user01 migration, which is confirmed by the shared-owner information being migrated if the attached modification is done. Best regards, ---------------------------- Kristoffer Møllerhøj Systems Developer One.com ----------------------------
Hello, Thanks for the patch! As I'm sure somebody has said previously, podding is sort of a niche feature, and cross-pod migration is a niche within a niche - so I'm not sure that we have any tests around cross-pod migration. The existing datastore tests all pass with this change, at least. I'll see about getting this integrated. Cheers, -dre
On Jan 17, 2018, at 2:47 AM, Kristoffer Møllerhøj <kmo@b-one.net> wrote:
Hi,
on the branch release/CalendarServer-9.1 I have run the podA & podB server setup and tested the migration of user01 from podA to podB. Before migrating, I share user01's calendar to user02. After the migration, I observe that the shared calendar is partly broken: user02 on podA still views the calendar as shared from user01, but user01 seems to have lost the shared-owner information about this calendar. I think I might have figured out the problem: The 'shared' value in the message column in the calendar_bind table is not copied from podA to podB during user01 migration, which is confirmed by the shared-owner information being migrated if the attached modification is done.
Best regards,
---------------------------- Kristoffer Møllerhøj Systems Developer One.com ---------------------------- <migrate-message.patch>_______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/calendarserver-dev
participants (2)
-
Andre LaBranche
-
Kristoffer Møllerhøj