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

Fix firestore events interface and init stage. #4541

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

klizhentas
Copy link
Contributor

This comit fixes #4508

Gogoproto is not compatible with APIv2 protoc-gen-go.
Track the issue here: gogo/protobuf#678
Meanwhile, this commit switches to google protobuf to unmarshal firebase struct.

Add a missing method EmitAuditEvent causing teleport to crash
with firestore events backend.

select {
case <-time.After(timeInBetweenIndexCreationStatusChecks):
case <-ctx.Done():
return trace.ConnectionProblem(ctx.Err(), "context timeout")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return trace.ConnectionProblem(ctx.Err(), "context timeout")
return trace.ConnectionProblem(ctx.Err(), "context timed out or canceled")

This comit fixes #4508

Gogoproto is not compatible with APIv2 protoc-gen-go.
Track the issue here: gogo/protobuf#678
Meanwhile, this commit switches to google protobuf to unmarshal firebase struct.

Add a missing method EmitAuditEvent causing teleport to crash
with firestore events backend.
@klizhentas klizhentas merged commit ae401f7 into branch/4.4 Oct 14, 2020
@klizhentas klizhentas deleted the sasha/firestore-fix branch October 14, 2020 19:20
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.

3 participants