Skip to content
#

transactions

Here are 410 public repositories matching this topic...

xaragen
xaragen commented Aug 10, 2021

Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:

// https://sequelize.org/master/manual/assocs.html
// For example, to use UUID as the foreign key data type instead of the default (INTEGER), you can simply do:

const { DataTypes } = require("Sequelize");

Foo.hasOne(Bar, {
  foreignKey: {
    // name: 'myFooId'
    type: D
yedf2
yedf2 commented Dec 21, 2021

这里的任务,主要是为了帮助新人熟悉dtm的贡献PR流程,如果您已经是一个熟练的开源贡献者,请参考 #93

这里的任务比较多,您仅需要上手做一到两个,熟悉流程之后,就可以去做更有挑战的任务,参考 #93

  • dtmsvr/storage下的文件,可以加上开源版权注释,每个文件的一行作为一个任务,发一个PR
  • dtmcli/dtmimp/trans_xa_base.go中的中文注释翻译成英文注释,每行注释翻译,作为一个任务,发一个PR
  • dtmcli/tcc.go中的注释翻译,同上
  • 运行make之后,修复其中一个golangci-lint检测出来的问题,发一个PR
locker
locker commented Nov 22, 2021

Sometimes we need to store a reference to an error object somewhere in the code so that we can return it to users. A good example is net.box: if the state machine is in the error state, we should return the error that caused the failure to all user requests. The problem is a user that got an error may link it to another error with [error.set_prev](https://www.tarantool.io/en/doc/latest/reference

iroha
mversic
mversic commented Dec 3, 2021

Our versioned containers implement into_v1, as_v1, as_mut_v1 separately. To make this look more rusty I propose:

  • find all instances of into_v1 in the code and replace them with implementation of From trait
  • find all instances of as_v1 in the code and replace them with implementation of AsRef trait
  • find all instances of as_mut_v1 in the code and replace them with implement

Improve this page

Add a description, image, and links to the transactions 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 transactions topic, visit your repo's landing page and select "manage topics."

Learn more