{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.triggers.SCMTrigger$SCMTriggerCause",
          "shortDescription" : "Started by an SCM change"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "refs/remotes/origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 858,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
            "branch" : [
              {
                "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
                "name" : "refs/remotes/origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
            "branch" : [
              {
                "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
                "name" : "refs/remotes/origin/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
        "branch" : [
          {
            "SHA1" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
            "name" : "refs/remotes/origin/master"
          }
        ]
      },
      "remoteUrls" : [
        "https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git"
      ],
      "scmName" : ""
    },
    {
      "_class" : "hudson.plugins.git.GitTagAction"
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#858",
  "duration" : 345,
  "estimatedDuration" : 590,
  "executor" : None,
  "fullDisplayName" : "CraftBukkit-RSS #858",
  "id" : "858",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 858,
  "queueId" : 193,
  "result" : "SUCCESS",
  "timestamp" : 1502436968511,
  "url" : "https://hub.spigotmc.org/jenkins/view/RSS/job/CraftBukkit-RSS/858/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "nms-patches/ChunkRegionLoader.patch"
        ],
        "commitId" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
        "timestamp" : 1502436859000,
        "author" : {
          "absoluteUrl" : "https://hub.spigotmc.org/jenkins/user/md_5",
          "fullName" : "md_5"
        },
        "authorEmail" : "git@md-5.net",
        "comment" : "Fix a few chunk saving race conditions\u000a* ChunkRegionLoader.c() picks an entry in the save queue, removes that\u000aentry from the save queue and then actually writes the entry to the\u000aregion file. So, between the last two steps, the entry is neither in the\u000asave queue nor is it in the region file; if somebody loads the chunk\u000aagain (with ChunkRegionLoader.loadChunk()) in that gap, they'll get old\u000adata. I've delayed the removal until the saving is done.\u000a* ChunkRegionLoader.c() also records the coords of the chunks it's\u000acurrently saving in this.c. ChunkRegionLoader.a(ChunkCoordIntPair,\u000aNBTTagCompound), which adds an entry to the save queue, stops the\u000aaddition of an entry if its coords are in this.c. Now, I'm guessing that\u000aMojang's intended purpose for this mechanism was to prevent multiple\u000aparallel writes for the same chunk. The \"stops the addition\" bit above\u000ashould then be something like \"block until it's no longer in c\"; in\u000afact, the vanilla implementation is \"discard the new state of the\u000achunk\". I've taken the easy route to solving this, by just making\u000aChunkRegionLoader.c() synchronized (since, in normal use, only the chunk\u000asaving thread is in here).\u000a",
        "date" : "2017-08-11 17:34:19 +1000",
        "id" : "963b19c5995b14f8980a42f13b1bd693a5b411d1",
        "msg" : "Fix a few chunk saving race conditions",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "nms-patches/ChunkRegionLoader.patch"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://hub.spigotmc.org/jenkins/user/md_5",
      "fullName" : "md_5"
    }
  ]
}