Skip to content

Quantumplation/commit-log-11-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce Repo

This repo reproduces an apparent issue with the commitlog crate.

The commitlog appears to not be reading an existing log properly.

In this repo, we create a new commit log, print the last offset, and then print each message in the log.

Then we append the message "Test" to the log, and flush it.

I would expect this to print:

First Run:

Offset: None

Second Run:

Offset: Some(0)
0 - Test

Third Run:

Offset: Some(1)
0 - Test
1 - Test

Instead, it prints:

Offset: None

Every time the application is run.

About

Reproduce repo for Commit Log issue #11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages