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
I encountered a strange issue while testing inserts from k1000 to k1. When inserting in ascending order, the page management behaves normally, but when inserting in descending order, new pages are frequently requested. After conducting breakpoint testing, I believe the issue lies in the calculateDataLength method, particularly in this part of the code:
if (currentDataLen > 0) {
return currentDataLen;
}
When a page splits, the original page always uses the old value instead of recalculating. I understand that you implemented this to avoid repeated calculations, but it seems to have introduced some bugs.
Best regards.
The text was updated successfully, but these errors were encountered:
I encountered a strange issue while testing inserts from k1000 to k1. When inserting in ascending order, the page management behaves normally, but when inserting in descending order, new pages are frequently requested. After conducting breakpoint testing, I believe the issue lies in the calculateDataLength method, particularly in this part of the code:
if (currentDataLen > 0) {
return currentDataLen;
}
When a page splits, the original page always uses the old value instead of recalculating. I understand that you implemented this to avoid repeated calculations, but it seems to have introduced some bugs.
Best regards.
The text was updated successfully, but these errors were encountered: