Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-480

LP #791030: innodb_adaptive_hash_index_partitions may cause hangup

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by Yasufumi Kinoshita last update 09-09-2013 05:57:52

      innodb_adaptive_hash_index_partitions > 1 may cause hangup.
      Sometimes I met the hangup at high-spec bencnhmarks.

      The part of innodb_adaptive_hash_index_partitions.patch

      + } else if (btr_search_index_num > 1) {
      + rw_lock_t* btr_search_latch;
      +
      + /* FIXME: This may be optimistic implementation still. */
      + btr_search_latch = (rw_lock_t*)(block->btr_search_latch);
      + if (UNIV_LIKELY(!btr_search_latch)) {
      + if (block->is_hashed)

      { + goto retry; + }

      + return;
      + }
      + rw_lock_s_lock(btr_search_latch);

      is insufficient a little still.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: