migesok commented on code in PR #2027:
URL: https://github.com/apache/pekko/pull/2027#discussion_r2279066167
##########
persistence/src/main/scala/org/apache/pekko/persistence/journal/AsyncWriteJournal.scala:
##########
@@ -67,9 +67,21 @@ trait AsyncWriteJournal extends Actor with WriteJournalBase
with AsyncRecovery {
final val receiveWriteJournal: Actor.Receive = {
// cannot be a val in the trait due to binary compatibility
val replayDebugEnabled: Boolean = config.getBoolean("replay-filter.debug")
+ val enableGlobalWriteResponseOrder: Boolean =
config.getBoolean("write-response-global-order")
+
val eventStream = context.system.eventStream // used from Future callbacks
implicit val ec: ExecutionContext = context.dispatcher
+ // should be a private method in the trait, but it needs the
enableGlobalWriteResponseOrder field which can't be
+ // moved to the trait level because adding any fields there breaks
bincompat
+ def sendWriteResponse(msg: Any, snr: Long, target: ActorRef, sender:
ActorRef): Unit = {
Review Comment:
@pjfanning added. I hope I got it right this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]