Skip to content
#

transaction

Here are 612 public repositories matching this topic...

suntyan
suntyan commented Sep 5, 2019
  • I have searched the issues of this repository and believe that this is not a duplicate.

1. Bug Description

SpringCloud+feign服务调用,参与方不回滚。例如:发起方A(注解使用的是@LcnTransaction,@transactional)
)通过feign调用参与方B(注解@LcnTransaction(propagation = DTXPropagation.SUPPORTS)
@transactional),B抛异常,A插入数据(不回滚)。
使用过的解决办法:
1,feign取消falback,不进行熔断,测试无效;
2,feign不取

kingzez
kingzez commented Sep 10, 2018

https://github.com/demopark/sequelize-docs-Zh-CN/blob/master/associations.md#%E5%A4%96%E9%94%AE

外键

当您在模型中创建关联时,会自动创建带约束的外键引用。 下面是设置:

const Task = sequelize.define('task', { title: Sequelize.STRING });
const User = sequelize.define('user', { username: Sequelize.STRING });

User.hasMany(Task); // 将会添加 userId 到 Task 模型
Task.belongsTo(User); // 也将会添加 userId 到 Task 模型
rohitjoshi
rohitjoshi commented Jul 5, 2018

I have a use-case where two key-val should be inserted atomically (if not exist)and either insert fails should roll back. The 2nd key is a secondary index.

Key1= Hash1
Value1= Token1

Key2= Token1
Value2= json payload

How can I insert both atomically? Now if Key1 or Key2 (Token1) already exists, it should roll back the operation.

I see [HmsetWithTxn ](https://github.com/yongman

duhenglucky
duhenglucky commented Jan 10, 2019

As interface shows below:

    /**
     * <p>
     * Send batch messages to server.
     *
     * @param messages messages to be sent.
     */
    void send(List<Message> messages);

This API can lead to multiple behaviors, such as sending to multiple partitions, or the same partition, so how should we define the behavior of this method?

And this issue exists in many places, suc

3noch
3noch commented Aug 20, 2015

I am by far the least qualified person to review your work, but I find it relentlessly fascinating. I want your work to gain more traction, but I think that English is not your first language. I would like to offer my help to do some editing on your FP-complete posts to make them sound more natural in English. I can't offer much, but as I read through them I could offer some edits/questions that m

iBondAlex
iBondAlex commented Aug 6, 2018

To help us debug your issue please explain:

  • What you were trying to do (and why)
  • What happened (include command output)
  • What you expected to happen
  • Step-by-step reproduction instructions

Features

Please replace this section with:

  • a detailed description of your proposed feature
  • the motivation for the feature
  • how the feature would be relevant to at least 90% of Plasma user

Improve this page

Add a description, image, and links to the transaction topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the transaction topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.