Skip to content

Compaction fails #64

Open
Open
@csterritt

Description

@csterritt

Hi -- really liking medea so far, in spite of the mythological allusions :-)

I'm writing some simple example code, first to create some entries, next to list some, and finally to delete some entries.

I was surprised to see that if I delete a key 'foo', then the next time I list all the keys it's there, with a value of 'undefined'. Is this expected behavior?

So I thought I'd try compacting the database after deleting a key, and got the following error:

% node delete_some_entries.js
Key 'foo' removed.
Error on medea compact: { Error: EBADF: bad file descriptor, fsync
    at Error (native) errno: -9, code: 'EBADF', syscall: 'fsync' }
Compact done.

This is using node v6.2.0 on OS X El Capitan.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions