Skip to content

Fix migration documents status#73

Merged
abnegate merged 10 commits into
utopia-php:mainfrom
ArnabChatterjee20k:fix-migration-documents-status
Apr 14, 2025
Merged

Fix migration documents status#73
abnegate merged 10 commits into
utopia-php:mainfrom
ArnabChatterjee20k:fix-migration-documents-status

Conversation

@ArnabChatterjee20k
Copy link
Copy Markdown
Contributor

@ArnabChatterjee20k ArnabChatterjee20k commented Apr 10, 2025

``Issue
-> Documents are always in pending state despite the documents are migrated and migration is completed
-> Cache ignoring for document type resources

Current fix
-> Currently the structure of the cache for the document is
$cache[Resource::TYPE_DOCUMENT][{$documentId}] = {$status}

Test ran
Screenshot from 2025-04-10 17-22-11

Working on appwrite migration dashboard for 5000+ docs

Screenshot from 2025-04-10 16-07-48

Comment thread src/Migration/Cache.php Outdated
Comment thread src/Migration/Cache.php Outdated
Comment thread src/Migration/Cache.php
@abnegate abnegate merged commit 84163e1 into utopia-php:main Apr 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants