2017-02-28 48 views
0

我使用Spring Data Gemfire和Gemfire 8.2.0的v1.7.5。 使用REQUIRES_NEW事務傳播時,嘗試暫停現有事務時失敗,出現以下錯誤。它看起來像下面的Gemfire轉換管理器(CacheTransactionManager)支持掛起和恢復,但春天的數據gemfire不支持。我的理解是正確的嗎?如果是的話,有沒有可以在不久的將來提供的解決方案或支持? Caused by: org.springframework.transaction.TransactionSuspensionNotSupportedException: Transaction manager [org.springframework.data.gemfire.GemfireTransactionManager] does not support transaction suspension     at org.springframework.transaction.support.AbstractPlatformTransactionManager.doSuspend(AbstractPlatformTransactionManager.java:1129)     at org.springframework.transaction.support.AbstractPlatformTransactionManager.suspend(AbstractPlatformTransactionManager.java:579)     at org.springframework.transaction.support.AbstractPlatformTransactionManager.handleExistingTransaction(AbstractPlatformTransactionManager.java:424)     at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349)     at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:427)     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:276)     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) REQUIRES_NEW交易在Spring數據不支持的情況下gemfire

回答

1

好抓!

我已經提交了JIRA票據SGF-598 -
"Add support for suspend and resume in GemfireTransactionManager"
以增強SDG GemfireTransactionManager的本地緩存事務掛起和恢復功能。

我已經相應地爲這張票設置了「修復版本」。

注意:不再支持SDG 1.7.x。請參閱SDG project page獲取最新的最新版本。

謝謝, 約翰

+0

謝謝約翰。您的Jira票據上沒有清楚說明計劃的發佈時間。你有更新嗎?如果時間會更長,我們需要爲我們的系統提出解決方法。請澄清。 – santhakr

+0

我將'Fix Version'設置爲1.9.1.RELEASE(Ingalls SR1),我們計劃在明天發佈CET。我不會支持將此增強功能移植到1.8。通常,通常(但並非總是),您可以在SD Commons Wiki上在這裏公開發布SD發佈列車時刻表(https://github.com/spring-projects/spring-data-commons/wiki/Release-Train-Ingalls) 。 –

+0

這裏只是一個更新,我沒有設法讓SGF-598進入最近推出的新SDG 1.9.1.RELEASE(剛發佈)。 –

相關問題