[SERVER-63937] Change ArrayAccessor reset to use tag+value Created: 23/Feb/22  Updated: 15/Mar/22  Resolved: 14/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Anna Wawrzyniak Assignee: Denis Grebennicov
Resolution: Won't Do Votes: 0
Labels: neweng, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: QE 2022-03-21
Participants:

 Description   

Problem:

ArrayAccessor::reset requires underlying SlotAccessor. However, unlike other accessors that link to different slots, ArrayAccessors eagerly accesses the value.

This prevents a reset() method to be used in the prepare() phase, where underlying slot may not yet be valid.

 

Proposed solution:

Change the reset method to take tag+value instead. 


Generated at Thu Feb 08 05:59:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.