diff options
| author | Alek5andr-Kotov <[email protected]> | 2024-07-01 15:55:26 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-01 15:55:26 +0300 |
| commit | cf49f54afe39b844c3cd4132c19c4e6dd0cef669 (patch) | |
| tree | e965b39128ec0ed004276eaaef4309304ef5a742 | |
| parent | 90c247bd0fb2cc4a785cce854f266c36cf4a65fa (diff) | |
Lexicographic order of keys (#6112)
| -rw-r--r-- | ydb/core/persqueue/key.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/persqueue/key.h b/ydb/core/persqueue/key.h index 291ec57ffe0..e27c7d6dcda 100644 --- a/ydb/core/persqueue/key.h +++ b/ydb/core/persqueue/key.h @@ -322,7 +322,7 @@ TKey MakeKeyFromString(const TString& s, const TPartitionId& partition); inline TString GetTxKey(ui64 txId) { - return Sprintf("tx_%" PRIu64, txId); + return Sprintf("tx_%020" PRIu64, txId); } |
