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

Upgrades Finagle version to 18.12.0 #2194

Merged
merged 3 commits into from
Dec 19, 2018
Merged

Conversation

dadjeibaah
Copy link
Contributor

fixes #2180
fixes #2184

Dennis Adjei-Baah added 2 commits December 14, 2018 11:57
Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

From now on whenever I type com.twitter.conversions.time._ it will be a Duration Oops. 🤣

I have one question about reader. Otherwise this looks good.

def read(): Future[Option[Buf]] = reader.read().handle {
case NonFatal(e) =>
log.debug(e, "Error reading JSON stream")
None
}
def discard(): Unit = reader.discard()

def onClose: Future[StreamTermination] = closeP
Copy link
Member

Choose a reason for hiding this comment

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

this promise is never satisfied? why shouldn't this be a pass through to reader.onClose?

Copy link
Contributor

@ccmtaylor ccmtaylor left a comment

Choose a reason for hiding this comment

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

+1 to @adelong's comment about onClose, lgtm otherwise. Glad the netty fix is resolved now :)

@@ -5,8 +5,7 @@ import com.fasterxml.jackson.annotation._
import com.fasterxml.jackson.core.{JsonParser, TreeNode}
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.{DeserializationContext, JsonDeserializer, JsonNode}
import com.twitter.conversions.storage._
import com.twitter.conversions.time._
import com.twitter.conversions.DurationOps._
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, we ran into this issue too. It should be fixed in the next release: twitter/util#239

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh awesome, glad this was fixed. 😄

import com.twitter.conversions.time._
import com.twitter.finagle.{Path, Stack}
import com.twitter.conversions.StorageUnitOps._
import com.twitter.conversions.DurationOps._
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these imports used? The issue I linked should prevent them from working...

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

⭐ 🎅

@dadjeibaah dadjeibaah self-assigned this Dec 17, 2018
@dadjeibaah
Copy link
Contributor Author

Ah, looks like I can't merge it without @ccmtaylor's approval. I was wondering why I couldn't see the big green button haha.

@adleong adleong merged commit 8770c48 into master Dec 19, 2018
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.

Upgrade and test Linkerd with Finagle 18.12.0 Linkerd initial memory usage higher in latest versions
3 participants