Queue static table exports should use object id when working with exported queue
Open
queues
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
In static exports we take a snapshot lock on the exported queue. As per the [docs](https://ytsaurus.tech/docs/en/user-guide/storage/transactions#locking_mode), you should use the object id returned by the lock command when working with a snapshot of an object. We [use](https://github.com/ytsaurus/ytsaurus/blob/main/yt/yt/server/queue_agent/queue_static_table_exporter.cpp#L339) the path instead (probably in other places as well). Let's fix this.
Contributor guide
Assessment
This issue has not been assessed yet.