漏洞 ID 编号 |
BUG-000157690 |
已提交 | April 20, 2023 |
上次修改时间 | September 19, 2024 |
适用范围 | ArcGIS Pro SDK for .NET |
找到的版本 | 3.1 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
Creating or deleting a relationship class (as well as other data definition language (DDL) commands) definitely requires an exclusive lock. Changing the schema requires exclusive access and is the reason why those locks exist. Users must stop their web services, change the schema, and then restart their web services- at minimum. It will be safer to republish the data so that the service is made aware of any changes to the schema.
The fact that some of the geoprocessing tools and Python allow these changes is the actual bug. These operations must not be allowed unless the exclusive lock can be obtained; it should work the same as the SDK.
解决办法
To perform a data definition language (DDL) operation on a feature class, any web service that uses the feature class must be stopped, and other ArcGIS Pro instances using the feature class must be closed. After changing the schema, restart or republish the web services if the schema changes impact the web service.
重现步骤