1 | Scenario #2 is chosen as the method for locking anchor | - locks all fragment when we lock metadata anchor i.e. metadata of all cm handle will be locked
- metadata of every cm handle is frozen until the first lock is released
| - we don't need to lock the anchor but lock just the fragment
- this way client can lock another fragment in parallel
- client (NCMP) can pass the XPath to specify the fragment they want to lock
- Options for scenario 2
- extend lock capability to the fragment
- change the model for storing metadata
| - the team decided to go for option #1 for scenario 2
- don't need to specify anchor as it is given by FK
- you need the path for the fragment
|