- The target audience of this guide is OceanBase seekdb contributors, both new and experienced.
- The objective of this guide is to help contributors become an expert of OceanBase seekdb, who is familiar with its design and implementation and thus is able to use it fluently in the real world as well as develop OceanBase seekdb itself deeply.
At present, the guide is composed of the following parts:
This section helps you set up the development environment and get OceanBase seekdb running on your machine. Follow these steps in order if you're new to the project.
- Install toolchain - Install the required development tools and dependencies
- Get the code, build and run - Clone the repository, build the project, and connect to the seekdb server
Once you have the environment set up, these guides will help you develop effectively:
- Set up an IDE - Configure your development environment for optimal productivity
- Coding Conventions - Learn OceanBase seekdb's programming habits and conventions
- Coding Standard - Detailed C++ coding standards and constraints
- Write and run unit tests - How to write and execute unit tests
- Running MySQL test - How to run MySQL compatibility tests
- Debug - Debugging techniques and tools
Before you start developing a big feature, it's recommended to read these documents to better understand OceanBase seekdb's internals:
- Logging System - How logging works in OceanBase seekdb
- Memory Management - Memory management strategies and best practices
- Basic Data Structures - Core data structures used in the codebase
Ready to contribute? This guide will help you get involved in the OceanBase community:
- Commit code and submit a pull request - Step-by-step guide to contributing code changes
Note: If you're new to the project, we recommend following the sections in order. Experienced contributors can jump directly to the sections they need.