oceanbase / oceanbase/seekdb

[Feature]: Design OS Compatibility Layer

Open
#169 1 comment 0 reactions 1 assignee View on GitHub

@LINxiansheng is already working on this.

Since Feb 6, 2026.

type: feature
Dominant language
C++
Stars
2.9k
Forks
339
Avg merge
1d 19h
Merged PRs (30d)
52

Description

Use Case

This subtask involves creating an operating system abstraction layer to handle platform-specific differences, similar to MySQL's approach.
Describe the solution you'd like

Design cross-platform abstraction interfaces for file I/O, threading, and memory management
Implement platform-specific implementations for macOS, Linux, and Windows
Create unified APIs for system calls, network operations, and process management
Abstract filesystem operations, path handling, and directory management
Standardize error handling and logging across different operating systems
Implement conditional compilation directives for platform-specific code paths
Ensure consistent behavior across platforms while leveraging OS-specific optimizations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.