You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verified by breakpoint and watching dgraph/qdb inside GetDGraphDB:
Edit a new cell to add python reference to other cells. dgraph edgeCount reflects the old dependency count (because it has not yet been modified).
Edit the cell to add or remove cell references. dgraph edgeCount reflects the correct count from the first edit (again, stale data)
Delete the cell.. dgraph edgeCount reflects the count from [2] (stale data).
Perform any operation that needs to get/update dgraph. dgraph edgeCount reflects [2] - NOT [3].
This is an issue in terms of a performance leak - and potentially invalid data.
These stale/invalid dependency edges are a memory leak (albeit a small one).
If one of the cells "referenced" in those edges is updated, it will push cells onto the update queue that do not need to be updated. Mostly this is a quick loop of no-ops on those cells - a small performance hit. However:
If those cells have any non-deterministic/live computations (e.g. Random, or Date.now()), they will incorrectly be computed and updated with new values.
The text was updated successfully, but these errors were encountered:
I believe this issue has been fixed in the `development` branch, which is
significantly ahead of `main`.
We hope to merge development this month.
David
On Thu, Feb 2, 2023 at 11:02 AM heizusan ***@***.***> wrote:
Verified by breakpoint and watching dgraph/qdb inside GetDGraphDB:
1. Edit a new cell to add python reference to other cells. dgraph
edgeCount reflects the old dependency count (because it has not yet been
modified).
2. Edit the cell to add or remove cell references. dgraph edgeCount
reflects the correct count from the first edit (again, stale data)
3. Delete the cell.. dgraph edgeCount reflects the count from #2
<#2> (stale data).
4. Perform any operation that needs to get/update dgraph. dgraph
edgeCount reflects #2 <#2>
- NOT #3 <#3>.
This is an issue in terms of a performance leak - and potentially invalid
data.
1. These stale/invalid dependency edges are a memory leak (albeit a
small one).
2. If one of the cells "referenced" in those edges is updated, it will
push cells onto the update queue that do not need to be updated. Mostly
this is a quick loop of no-ops on those cells - a small performance hit.
However:
3. If those cells have any non-deterministic/live computations (e.g.
Random, or Date.now()), they will incorrectly be computed and updated with
new values.
—
Reply to this email directly, view it on GitHub
<#206>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2RO7IV2D244BIXUIELOULWVPZCVANCNFSM6AAAAAAUPKZTLM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Verified by breakpoint and watching dgraph/qdb inside GetDGraphDB:
This is an issue in terms of a performance leak - and potentially invalid data.
The text was updated successfully, but these errors were encountered: