Always set request id

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Wire Protocol
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver currently sets request id on wire protocol messages on demand. This makes the code unnecessarily confusing and makes the driver mutate messages after they have been initialized, which is not good. Since request id must be populated eventually anyway and there's no code in the driver that creates messages and then does not send them, there is no performance loss to setting request id in the constructor and this will make the code easier to follow.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: