1. 27 3月, 2020 4 次提交
  2. 26 3月, 2020 2 次提交
  3. 25 3月, 2020 4 次提交
    • A
      PSYNC2: meaningful offset test. · c4d7f30e
      antirez 提交于
      c4d7f30e
    • A
      PSYNC2: meaningful offset implemented. · 57fa355e
      antirez 提交于
      A very commonly signaled operational problem with Redis master-replicas
      sets is that, once the master becomes unavailable for some reason,
      especially because of network problems, many times it wont be able to
      perform a partial resynchronization with the new master, once it rejoins
      the partition, for the following reason:
      
      1. The master becomes isolated, however it keeps sending PINGs to the
      replicas. Such PINGs will never be received since the link connection is
      actually already severed.
      2. On the other side, one of the replicas will turn into the new master,
      setting its secondary replication ID offset to the one of the last
      command received from the old master: this offset will not include the
      PINGs sent by the master once the link was already disconnected.
      3. When the master rejoins the partion and is turned into a replica, its
      offset will be too advanced because of the PINGs, so a PSYNC will fail,
      and a full synchronization will be required.
      
      Related to issue #7002 and other discussion we had in the past around
      this problem.
      57fa355e
    • A
      Explain why we allow transactions in -BUSY state. · f15042db
      antirez 提交于
      Related to #7022.
      f15042db
    • S
      Merge pull request #7022 from oranagra/multi-busy-script · 643bc48a
      Salvatore Sanfilippo 提交于
      MULTI/EXEC during LUA script timeout are messed up
      643bc48a
  4. 24 3月, 2020 1 次提交
    • O
      MULTI/EXEC during LUA script timeout are messed up · ec007559
      Oran Agra 提交于
      Redis refusing to run MULTI or EXEC during script timeout may cause partial
      transactions to run.
      
      1) if the client sends MULTI+commands+EXEC in pipeline without waiting for
      response, but these arrive to the shards partially while there's a busy script,
      and partially after it eventually finishes: we'll end up running only part of
      the transaction (since multi was ignored, and exec would fail).
      
      2) similar to the above if EXEC arrives during busy script, it'll be ignored and
      the client state remains in a transaction.
      
      the 3rd test which i added for a case where MULTI and EXEC are ok, and
      only the body arrives during busy script was already handled correctly
      since processCommand calls flagTransaction
      ec007559
  5. 23 3月, 2020 12 次提交
  6. 22 3月, 2020 3 次提交
  7. 20 3月, 2020 5 次提交
  8. 18 3月, 2020 8 次提交
  9. 17 3月, 2020 1 次提交