codingapi / codingapi/tx-lcn

6.0 唯一主键生成策略

Offen
#512 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
features help wanted
Vorherrschende Sprache
Java
Sterne
4.2k
Forks
1.4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

框架中有两个地方需要创建唯一主键。
分别是:事务组 GroupId值的创建 与 事务日志中id的主键策略。数据类型
groupId:string
id:long

groupid格式未必一定是string,也可以修改成lang类型。但是要保证全局环境中的唯一性

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Search the repository for the code paths that create the transaction GroupId and the transaction-log id, then read how their current types and persistence flows are defined. The issue does not name files or tests; done means agreeing on and implementing a globally unique strategy for both identifiers while covering the stated string/long type requirements.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend, databases, distributed-systems
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.