Skip to content

fail to run Q1 in async mode. #1

Description

@xx789633

Hi, this is a really great work!

I followed the readme and can successfully build this project. But the code fails in https://github.com/L-v-M/async/blob/main/storage/src/storage/file.cc#L63 when I run query 1 in async mode. The bytes_read returned is -22.

I have checked the code in IOUringAwaiter. It's weird that the SetResult would set _result to be 0, but await_resume still returns result_ with value -22.

I'm not really sure whether this is a bug or it comes from a wrong system configuration. I did the experiment on a fresh ubuntu 20.04 with gcc-11.1.0 installed.

Can anyone help me fix this problem? Many thanks in advance.

@L-v-M @pfent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions