Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14699

[SERVER] Investigate changes in SERVER-58432: Include dochub link in log line 5578800 when warning about deprecation/removal of old op codes

      Downstream Change Summary

      Legacy op deprecation warning messages in log contains dochub link for details like

      "t":

      Unknown macro: {"$date"}

      ,"s":"W", "c":"COMMAND", "id":5578800, "ctx":"conn88","msg":"Deprecated o peration requested. See https://dochub.mongodb.org/core/legacy-opcode-compatibility for a recommended action","attr":{"op":"in sert","clientInfo":{"application":

      Unknown macro: {"name"}

      ,"driver":

      Unknown macro: {"name"}

      ,"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"18.04"}}}}

      Description of Linked Ticket

      In SERVER-55788 for version 5.0.0, we added logic to log a warning when the client uses one of the deprecated op codes (OP_QUERY, OP_INSERT, etc.). The message indicates the use of a deprecated feature. Support for the deprecated op codes is being completely removed in 5.1.0, so in 5.1.0 the same warning will be logged but the operation will be rejected by the server. Customers should upgrade their driver to ensure that they are not relying upon the old op codes.

      We should improve log message 5578800 in both the master and 5.0 branches to include a dochub link. This link should redirect to a page that explains the deprecation and removal of the old op codes, and also provides instructions regarding what the customer should do in order to avoid any disruption to their application.

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 37 weeks, 5 days ago