Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Loading multilog fails after multiple restarts #153

Open
haal opened this issue Jan 12, 2020 · 0 comments
Open

[BUG] Loading multilog fails after multiple restarts #153

haal opened this issue Jan 12, 2020 · 0 comments
Assignees

Comments

@haal
Copy link
Contributor

haal commented Jan 12, 2020

Describe the bug

Loading multilog after multiple restarts fails.

How to reproduce the bug?

The test case is:

  1. start confluo using data path (e.g. --data-path=/var/db)
  2. create multilog and write to it
RpcClient client = new RpcClient(HOST, PORT);
client.createAtomicMultilog(MULTILOG_NAME, "{ msg: STRING(8) }", StorageMode.DURABLE);
client.append("abcdefgh");
client.disconnect();
  1. stop the confluo server
  2. start confluo server using same data path as in step 1
  3. check count of items - outputs 1
RpcClient client = new RpcClient(HOST, PORT);
client.loadAtomicMultilog(MULTILOG_NAME);
System.out.println(client.numRecords());
client.disconnect();
  1. stop the confluo server
  2. start confluo server using same data path as in step 1
  3. retry step 5 - it fails with Floating point exception

Expected behavior

Step 8 should not fail and should output 1

Detailed logs

Error log: Floating point exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants