Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69926

errorcodes.py doesn't detect duplicate errors in MONGO_UNREACHABLE_TASSERT

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v6.1, v6.0, v5.0
    • Service Arch 2022-10-17

      goal of this ticket is to fix errorcodes.py and run with --fix. MONGO_UNREACHABLE_TASSERT doesn't exist in 4.4 so this would only need to be backported to 5.0.

      here are duplicate errorcodes I found in master after fixing errorcodes.py

      DUPLICATE IDS: 6434901
        src/mongo/db/pipeline/document_source.h:650:39:MONGO_UNREACHABLE_TASSERT(6434901
        src/mongo/db/pipeline/pipeline_d.cpp:1449:29:tassert(6434901
      DUPLICATE IDS: 5348302
        src/mongo/db/exec/bucket_unpacker.cpp:423:39:MONGO_UNREACHABLE_TASSERT(5348302
        src/mongo/db/pipeline/lite_parsed_pipeline.cpp:196:13:uassert(5348302
      DUPLICATE IDS: 5490701
        src/mongo/db/pipeline/window_function/window_function_expression.h:679:35:MONGO_UNREACHABLE_TASSERT(5490701
        src/mongo/db/pipeline/window_function/window_function_expression.h:817:35:MONGO_UNREACHABLE_TASSERT(5490701
        src/mongo/db/pipeline/window_function/window_function_expression.h:865:35:MONGO_UNREACHABLE_TASSERT(5490701
        src/mongo/db/pipeline/window_function/window_function_expression.h:887:35:MONGO_UNREACHABLE_TASSERT(5490701
      DUPLICATE IDS: 5490702
        src/mongo/db/pipeline/window_function/window_function_expression.h:683:35:MONGO_UNREACHABLE_TASSERT(5490702
        src/mongo/db/pipeline/window_function/window_function_expression.h:821:35:MONGO_UNREACHABLE_TASSERT(5490702
        src/mongo/db/pipeline/window_function/window_function_expression.h:869:35:MONGO_UNREACHABLE_TASSERT(5490702
        src/mongo/db/pipeline/window_function/window_function_expression.h:891:35:MONGO_UNREACHABLE_TASSERT(5490702
      DUPLICATE IDS: 5339900
        src/mongo/db/pipeline/window_function/window_bounds.cpp:93:17:uassert(5339900
        src/mongo/db/query/datetime/date_time_support.cpp:856:31:MONGO_UNREACHABLE_TASSERT(5339900
      DUPLICATE IDS: 6273803
        src/mongo/s/commands/cluster_map_reduce_agg.cpp:244:43:MONGO_UNREACHABLE_TASSERT(6273803
        src/mongo/s/query/cluster_aggregate.cpp:504:25:uassert(6273803
      MALFORMED ID: 64227002
        src/mongo/db/pipeline/accumulator_sum.cpp:111:39:MONGO_UNREACHABLE_TASSERT(64227002
      ok: False 

            Assignee:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Reporter:
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: