feat & fix: nosync模式下增加后台协程定时刷盘 & 修复循环写日志时跳回低idx时会导致找不到最新segment文件问题 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: make -f makefile test-with-cover TestPackage=./storage/core/ragdoll/wal |