Skip to content

mergeoperator name not null terminated #79

Description

@JustinAzoff

This looks related to

#21

I'm trying out the merge operator stuff, and found that if I don't end the returned string from Name with \000 the log file shows

Options.merge_operator: bitsetMergeOperatorcgocall unavailableclient disconnectedcontent-dispositioncriterion too shortdb@close done T·%vdevice not a streamdirectory not emptydisk quota exceededempty option stringerr must be non-nilexpired certificatefile already closedfile already existsfile does not existfinishAsyncByteReadhttp
...
2017/02/18-17:02:36.890962 7f29cdad4980 [WARN] Unable to persist options in CreateColumnFamily() -- Invalid argument: [RocksDBOptionsParser Error] : A valid statement must have a '='. (at line 104)

Instead of just

Options.merge_operator: bitsetMergeOperator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions