dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.21k stars 908 forks source link

iouring system call interface is not supported #333

Closed Janry closed 1 year ago

Janry commented 1 year ago

Describe the bug Quick start with docker compose get error I20220927 12:45:03.816557 1 init.cc:56] dragonfly running in opt mode. I20220927 12:45:03.816596 1 dfly_main.cc:219] Starting dragonfly df-v0.8.0-7ed808d5d093ec472de4868e02182cb1432c6967 E20220927 12:45:03.816608 1 dfly_main.cc:239] iouring system call interface is not supported. Exiting...

dragonfly: image: 'docker.dragonflydb.io/dragonflydb/dragonfly' ulimits: memlock: -1 ports:

  • "${DRAGONFLY_PORT:-0}:6379" network_mode: host command: "--cache_mode true" restart: '${RESTART_POLICY:-on-failure:10}' volumes:
  • ${DRAGONFLY_DATA_LOCATION:-dragonflydata}:/data

Environment (please complete the following information):

romange commented 1 year ago

How is wsl not having iouring interface is a bug in dragonfly?

What's your kernel version? Check here when iouring was added to wsl. https://learn.microsoft.com/en-us/windows/wsl/kernel-release-notes