Project

General

Profile

Bug #9697

Use only indexed fields when performing record snapshot

Added by Andrei Plugaru over 1 year ago. Updated over 1 year ago.

Status:
WIP
Priority:
Normal
Assignee:
Andrei Plugaru
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

Related issues

Related to Database - Feature #6720: lazy hydration WIP

History

#1 Updated by Andrei Plugaru over 1 year ago

The scope of this task is to make Record.snapshot use only the indexed fields.
The reason we got here is because of the lazy hydration task #6720, where snapshot method is quite problematic. Currently, there, we just take the hydrator, and hydrate the rest of the fields when in need, which is wrong because we can take other values than the initial ones.

This solution, where we only use the indexed fields, should be both efficient and solve that issue.

#2 Updated by Andrei Plugaru over 1 year ago

  • Status changed from New to WIP

Created 9697a based on rev. 15726.

#3 Updated by Alexandru Lungu over 1 year ago

#4 Updated by Andrei Plugaru over 1 year ago

  • Assignee set to Andrei Plugaru

Also available in: Atom PDF