Skip to content

Confirm: is offline StartTransaction queue persistence (txstore/opstore) present in code from ~2 years ago, or only from #379 onward? #454

Description

@chandan-ultraviolette

When the charger goes offline, a session starts and stops entirely offline, and the device resets while still offline — on reconnect, only StopTransaction.req is sent. The corresponding StartTransaction.req is never resent, so the session is never properly correlated server-side. Filesystem/persistence itself is confirmed working (other files persist fine across reset).
Question: I see in the changelog that #345 introduced the Operation store (op-*.jsn, opstore.jsn) and explicit txNr tracking (txstore.jsn), and #355 migrated persistent storage. Since my checkout predates these:

Is this StartTransaction-loss-on-reset behavior expected/known in code prior to #379, and resolved by upgrading?
Or should offline StartTransaction queuing have worked correctly even in the older code, via some config flag I might be missing (e.g. related to TransactionMessageAttempts/TransactionMessageRetryInterval, or something in the older operation-queue mechanism before #379)?
If it's the latter, can you point me to which config or callback governs offline tx-queue persistence in pre-#345 code?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions