---
schema_version: "1"
id: 33bb6fa433ba196f4c97b8fed88653a72b9af70651993dcb07710c102630909b
title: Review Apex Code for Changed Sharing Recalculation Behavior
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_apex_sharing_ru.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_apex_sharing_ru.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9ad0c38f1b497e9026c76be8651a60804008ddb018642b6dd7f7478e7c8c632c
description: To help you prepare your Apex code for changes to sharing recalculation behavior, Salesforce created a release update that walks you through identifying and fixing affected code. For more information, review the related release note and the Update Apex Code and Flows for Changed Sharing Recalculation Behavior release update in Setup.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# Review Apex Code for Changed Sharing Recalculation Behavior

To help you prepare your Apex code for changes to sharing recalculation behavior, Salesforce created a release update that walks you through identifying and fixing affected code. For more information, review the related release note and the Update Apex Code and Flows for Changed Sharing Recalculation Behavior release update in Setup.

**Where:** This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Performance, Unlimited, and Developer editions.

#### See Also

- [Update Apex Code and Flows for Changed Sharing Recalculation Behavior (Release Update)](https://help.salesforce.com/s/articleView?id=release-notes.rn_customization_apex_sharing_ru.htm&release=260&type=5 "To optimize performance after large-scale updates to groups or roles, Salesforce now performs some sharing recalculations asynchronously. If Apex code and flows require that share records be updated immediately, the code and flows can break when this release update is enforced. Update Apex classes, tests, and flows that update group membership or roles if they rely on synchronous sharing recalculation. This update is available starting in Spring ’26.")