[GH-ISSUE #6873] [Bug] Possible dirty data(orphanViews) in AppFlowy #3036

Closed
opened 2026-03-23 21:27:06 +00:00 by mirror · 1 comment
Owner

Originally created by @owenyang0 on GitHub (Nov 28, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6873

Bug Description

While conducting a views check on my Mac's Appflowy, I encountered numerous logs stating:

{"msg":"[Flutter]: [workspace] orphanViews: {id: 245001ef-f4d2-4f87-b2a0-7330da1f5102, parentViewId: 76d5d44c-00ab-4c1d-9bcc-2130b6222868, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] orphanViews: {id: c5a2657a-9b1c-4805-b8db-b8fb7564b54f, parentViewId: 2c7d4915-3ed3-4202-beee-8c5f7cb35407, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] orphanViews: {id: 5849fcb9-1c2b-4533-ac4d-4cb104c5e75a, parentViewId: c41738fd-7350-4f29-bb89-221b51ecfff0, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] orphanViews: {id: ce4161e5-cc8e-4065-85fb-7540eebf714c, parentViewId: 8e61e956-80a7-4f67-952e-7969f00e4cf5, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] orphanViews: {id: 829af9ed-7e17-45c5-b591-d2060ebf1112, parentViewId: 24b584c7-cabf-4ef8-ad8c-07f1504ea717, name: Untitled, createTime: 1729055025, layout: Grid, createdBy: 382431360314249216, lastEdited: 1729055025, lastEditedBy: 382431360314249216}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] rowPageViews: {id: f2aec6fa-fa9d-5c80-92ad-f5fa18c54bf6, parentViewId: f2aec6fa-fa9d-5c80-92ad-f5fa18c54bf6, name: Untitled, createTime: 1728064784, createdBy: 378545889704153088, lastEdited: 1728064784, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
{"msg":"[Flutter]: [workspace] rowPageViews: {id: 48c93e2b-fd7b-405c-a155-6ea81a84f850, parentViewId: 48c93e2b-fd7b-405c-a155-6ea81a84f850, name: Untitled, createTime: 1728066465, createdBy: 378545889704153088, lastEdited: 1728066465, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"}
...
{"msg":"[Flutter]: [workspace] done checking view health","time":"11-28 18:08:47","target":"dart_ffi"}

I'm confident that these views were eradicated a few months back. This appears to be residual dirty data.
Despite my attempts to clear and empty the cache, these logs persist.

Is there a method to cleanse this dirty data from the PostgreSQL database? Or should I disregard this as a non-issue?

How to Reproduce

When I clear cache or from new login

Expected Behavior

no diry data

Operating System

MacOS 14.6.1

AppFlowy Version(s)

0.7.5

Screenshots

No response

Additional Context

No response

Originally created by @owenyang0 on GitHub (Nov 28, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6873 ### Bug Description While conducting a views check on my Mac's Appflowy, I encountered numerous logs stating: ``` {"msg":"[Flutter]: [workspace] orphanViews: {id: 245001ef-f4d2-4f87-b2a0-7330da1f5102, parentViewId: 76d5d44c-00ab-4c1d-9bcc-2130b6222868, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] orphanViews: {id: c5a2657a-9b1c-4805-b8db-b8fb7564b54f, parentViewId: 2c7d4915-3ed3-4202-beee-8c5f7cb35407, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] orphanViews: {id: 5849fcb9-1c2b-4533-ac4d-4cb104c5e75a, parentViewId: c41738fd-7350-4f29-bb89-221b51ecfff0, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] orphanViews: {id: ce4161e5-cc8e-4065-85fb-7540eebf714c, parentViewId: 8e61e956-80a7-4f67-952e-7969f00e4cf5, name: Untitled, createTime: 1728305992, layout: Grid, createdBy: 378545889704153088, lastEdited: 1728305992, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] orphanViews: {id: 829af9ed-7e17-45c5-b591-d2060ebf1112, parentViewId: 24b584c7-cabf-4ef8-ad8c-07f1504ea717, name: Untitled, createTime: 1729055025, layout: Grid, createdBy: 382431360314249216, lastEdited: 1729055025, lastEditedBy: 382431360314249216}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] rowPageViews: {id: f2aec6fa-fa9d-5c80-92ad-f5fa18c54bf6, parentViewId: f2aec6fa-fa9d-5c80-92ad-f5fa18c54bf6, name: Untitled, createTime: 1728064784, createdBy: 378545889704153088, lastEdited: 1728064784, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} {"msg":"[Flutter]: [workspace] rowPageViews: {id: 48c93e2b-fd7b-405c-a155-6ea81a84f850, parentViewId: 48c93e2b-fd7b-405c-a155-6ea81a84f850, name: Untitled, createTime: 1728066465, createdBy: 378545889704153088, lastEdited: 1728066465, lastEditedBy: 378545889704153088}","time":"11-28 18:08:47","target":"dart_ffi"} ... {"msg":"[Flutter]: [workspace] done checking view health","time":"11-28 18:08:47","target":"dart_ffi"} ``` I'm confident that these views were eradicated a few months back. This appears to be residual dirty data. Despite my attempts to clear and empty the cache, these logs persist. Is there a method to cleanse this dirty data from the PostgreSQL database? Or should I disregard this as a non-issue? ### How to Reproduce When I `clear cache` or from new login ### Expected Behavior no diry data ### Operating System MacOS 14.6.1 ### AppFlowy Version(s) 0.7.5 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Nov 29, 2024):

@owenyang0 These are not dirty data. The orphanViews and rowPageViews are part of the database page. These logs are for debugging. You can ignore them.

<!-- gh-comment-id:2506928915 --> @LucasXu0 commented on GitHub (Nov 29, 2024): @owenyang0 These are not dirty data. The `orphanViews` and `rowPageViews` are part of the database page. These logs are for debugging. You can ignore them.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3036
No description provided.