ytsaurus / ytsaurus/ytsaurus

Queue static table exports should use object id when working with exported queue

Open
#779 0 comments 0 reactions 1 assignee Claimed by @savnadya View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.