Skip to content

Pass thread key and log key through client when calling NewDB#460

Merged
sanderpick merged 1 commit intotextileio:masterfrom
FleekHQ:master
Nov 2, 2020
Merged

Pass thread key and log key through client when calling NewDB#460
sanderpick merged 1 commit intotextileio:masterfrom
FleekHQ:master

Conversation

@dmerrill6
Copy link
Copy Markdown
Contributor

Change log

  • Add threadKey, logKey and block params to NewDB at threads protobuf.

  • Add threadKey and logKey params to NewDBFromAddr at threads protobuf.

  • Handle those params and pass them through to Manager.

Notes

Regenerating the pb file using make made a lot of changes, maybe because my local version of protoc is newer. I tested the changes by running the client tests and manually by calling the function from the Space Daemon and all seems to be working, but if you need me to downgrade my protoc binary and regenerate let me know.

Also please let me know if this is missing anything before being ready to merge.

* Pass thread key and log key through NewDB and NewDBFromAddr

* Handle null thread key

Signed-off-by: Daniel Merrill <danielmerrill6@gmail.com>
Copy link
Copy Markdown
Contributor

@sanderpick sanderpick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for jumping in 🙏

@sanderpick sanderpick merged commit 8be7022 into textileio:master Nov 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants