aop icon indicating copy to clipboard operation
aop copied to clipboard

bugfix: Default echange consume failed, when broker restart.

Open autumnqfeng opened this issue 3 years ago • 0 comments

Master Issue: #596

Motivation

The queue corresponding to the default Exchange cannot consume messages when the broker restarts or the namespace migrates to another broker.

Modifications

Unload or broker restart can still consume normally.

Verifying this change

Set<AmqpQueue> queues in Exchange cannot be persisted after the broker has restarted. Queue validation was added to the BasicPublish interface.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

Check the box below.

Need to update docs?

  • [ ] doc-required

    (If you need help on updating docs, create a doc issue)

  • [x] no-need-doc

    (Please explain why)

  • [ ] doc

    (If this PR contains doc changes)

autumnqfeng avatar Jul 06 '22 03:07 autumnqfeng