Details

    Description

      MyRocks now has "group commit with the binary log" feature. Its goal is to keep the storage engine and the binlog in sync despite server crashes. It's interesting to run it under a parallel workload.

      This task is about testing it with a setup that was used to test similar features with InnoDB.

      Essential settings for testing:

      rocksdb_enable_2pc=ON
      rocksdb_flush_log_at_trx_commit=1
      sync_binlog=1
      log_bin=1
      binlog_format=ROW
      

      Attachments

        Issue Links

          Activity

            anikitin Andrii Nikitin (Inactive) added a comment - - edited

            I investigated following ways this may be tested:

            • force unmount partition with data directory => not usable, because practical filesystems don't support force flag in umount
            • fsfreeze => not usable, because it lets complete those IO operations which were already initiated
            • virtual machines / containers => probably not reliable, because it is unclear how it interacts with host flushing

            After all I decided to write magic letter 'c' to /proc/sysrq-trigger , which crashes kernel and is very similar to power outage. This method was used to test and report MDEV-14138 .

            anikitin Andrii Nikitin (Inactive) added a comment - - edited I investigated following ways this may be tested: force unmount partition with data directory => not usable, because practical filesystems don't support force flag in umount fsfreeze => not usable, because it lets complete those IO operations which were already initiated virtual machines / containers => probably not reliable, because it is unclear how it interacts with host flushing After all I decided to write magic letter 'c' to /proc/sysrq-trigger , which crashes kernel and is very similar to power outage. This method was used to test and report MDEV-14138 .

            Following the Slack discussion: functional testing of this feature is considered done.

            psergei Sergei Petrunia added a comment - Following the Slack discussion: functional testing of this feature is considered done.

            People

              anikitin Andrii Nikitin (Inactive)
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.