Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q quickfix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • quickfixgo
  • quickfix
  • Merge requests
  • !485

Solve concurrent map read and map write by making Fieldmap thread-safe & avoiding recycling of addresses

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/waheedoo/make_field_map_thread_safe into main Apr 03, 2022
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 8

Created by: waheedoo

We tried to use the library as it is in our integration, but we found out that it has some serious issues:

  1. Fieldmap is not thread-safe.
  2. Recycling of quickfix.Message addresses and re-using them are causing a problem when forwarding these addresses and reading them via:

FromApp(message *Message, sessionID SessionID) MessageRejectError

FromApp(message *Message, sessionID SessionID) MessageRejectError

In this PR we solved both issues, and it works now perfectly fine for us.

This PR should solve the following issues as well: https://github.com/quickfixgo/quickfix/issues/460 https://github.com/quickfixgo/quickfix/issues/372 https://github.com/quickfixgo/quickfix/issues/371 https://github.com/quickfixgo/quickfix/issues/320

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/waheedoo/make_field_map_thread_safe