Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-407

select io mode should not define "fd_set" struct array. Only one "fd_set" variable is OK.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.3.1
    • 2.2.0, 2.3.0
    • library
    • Security Level: Public
    • no relation with os env

    Description

      The fd_set struct related definition (e.g. fd_set readfds[FD_SETSIZE]; ) in "plugins\io\select\plugin-select.c" should be only one item, not array, like: fd_set readfds. Because fd_set has been a set array.

      In our os env, FD_SETSIZE is 51200, which means "readfds[FD_SETSIZE]" will consume very large memory.

      Attachments

        For Gerrit Dashboard: CCBC-407
        # Subject Branch Project Status CR V

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            whl0630 whl0630
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 20m
                20m
                Remaining:
                Remaining Estimate - 20m
                20m
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty