Regularly cleaning data will cause another problem.

If there are services in our system that depend on this data, such as a reporting system, if we clean the data and assume ID=1 or other…

分享

Regularly cleaning data will cause another problem.

If there are services in our system that depend on this data, such as a reporting system, if we clean the data and assume ID=1 or other primary key indexes, other systems may not know about it.

At this time, if we create a new data with ID=1 or other primary key indexes again, then other systems will encounter problems.

In any case, setting delete_at has its benefits, especially now when hardware is not particularly valuable,

But there are some details that we still need to carefully design.

文章索引

阅读更多

那些意外变成特性的 Bug:当代码漏洞改写计算史

那些意外变成特性的 Bug:当代码漏洞改写计算史

那些意外变成特性的 Bug:当代码漏洞改写计算史. 比起草台班子将错就错的神话,面对异常数据时的观测定力才是真的 社交网络上常年流传着一类爽文:某家公司的程序员把代码写崩了,结果不仅没被开除,这个 Bug 反而成了拳头产品,妥妥的爽文主角剧本。 最常被搬出来的有三个:Audio Hijack 写错试用期拯救公。

By huizhou92