If you work with several jobs, you can cause conflicts. For example, if you modify a feature in one job, and then modify it differently in another job, the modifications may conflict.
You can lock features to avoid conflicts, using two types of feature locking: pessimistic feature locking and optimistic feature locking. For more information, see the “Infrastructure Administrator Guide.”
With pessimistic feature locking, you cannot modify a feature in Job A if the feature is being used in Job B. To resolve the conflict, perform a partial posting in Job B. The feature then becomes available in Job A.
When you modify a feature in a job, the feature will be locked automatically. To prevent job conflicts in advance, you can lock a feature manually, before they are modified. This ensures that no other job will use the features.
You cannot unlock a feature that is being modified in another job. A feature that is locked by a job will be unlocked, either when you undo the modification or when you set the job to live.
To lock and unlock features
Features that are modified in the job are locked automatically.
The selected features are added to the Locked Features item, where only manually locked features are listed. Automatically locked features are listed under the Inserted, Updated, and Deleted nodes.
With optimistic feature locking, job conflicts can be detected only when you change the job state of all jobs.
To manually check for job conflicts, use Job Manager or Job Explorer. Job conflicts are detected only if a concurrent job has a different job state. For example, no conflicts are detected as long as the jobs are open.
To use Job Manager to manually check for job conflicts
Job States. To use Job Explorer to manually check for job conflicts
The Job Conflict Explorer displays any conflicts that are detected.Each conflict is shown in a separate tab.
For example, if you modify a feature in one job and then delete that feature in another job, you cannot set them both to pending: a conflict will result. Use Delete Modification to undo one of your changes and eliminate the conflict.
To use automatic job conflict validation
If you modify a feature in more than one job, the Concurrent Job dialog box is displayed as soon as you change the job state of the first job.