Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77463 Implement setQuerySettings command
  3. SERVER-78700

Truncate inputQuery attribute in case SetQuerySettingsReply surpasses 16MB limit

    • Type: Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • QE 2023-06-12, QE 2023-06-26, QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30

      When updating query settings via setQuerySettings command, there could a case where representativeQuery is larger than 8MB and therefore the SetQuerySettingsReply will surpass 16MB limit, as during updates an additional inputQuery attribute will be added.

      In those cases the returned object should be truncated in order to fit the 16MB limit.

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: